Skip to content

Commit

Permalink
replace resource path
Browse files Browse the repository at this point in the history
  • Loading branch information
Itzbenz committed Jul 26, 2021
1 parent c6aafab commit 34a89c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion desktop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,13 @@ task base(type: Jar, dependsOn: ":core:compileJava") {
archiveFileName = "desktop.jar"
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest.attributes('Main-Class': modsNJavaMain)//what
from files(aproj(":core").sourceSets.main.output)//Include core project class, gradle is shit
with jar
from {
configurations.runtimeClasspath.filter { it.exists() }.collect { it.isDirectory() ? it : zipTree(it) }
}

from files(aproj(":core").sourceSets.main.output)//Include core project class, gradle is shit


}
task unVersion(type: JavaExec) {
Expand Down

0 comments on commit 34a89c4

Please sign in to comment.