Skip to content

Commit

Permalink
Dammit gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Jan 30, 2023
1 parent d89e297 commit de6029e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'java-library'
id 'java'
id 'eclipse'
}

Expand All @@ -22,5 +22,15 @@ dependencies {
}

tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.encoding = "UTF-8"
}

jar {
manifest {
attributes 'Main-Class': 'Main'
}
from {
// dammit gradle
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

0 comments on commit de6029e

Please sign in to comment.