Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Slish562 authored Mar 27, 2024
1 parent f5415f0 commit 70b270d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@ task jarAndroid{
}
}


jar{
archiveFileName = "${project.archivesBaseName}Desktop.jar"
archiveFileName = "${base.archivesBaseName}Desktop.jar"
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

from{
configurations.runtimeClasspath.collect{ it.isDirectory() ? it : zipTree(it) }
}
Expand All @@ -95,7 +94,7 @@ jar{
task deploy(type: Jar){
dependsOn jarAndroid
dependsOn jar
archiveFileName = "${project.archivesBaseName}.jar"
archiveFileName = "${base.archivesBaseName}.jar"

from{ [zipTree("$buildDir/libs/${project.archivesBaseName}Desktop.jar"), zipTree("$buildDir/libs/${project.archivesBaseName}Android.jar")] }

Expand Down

0 comments on commit 70b270d

Please sign in to comment.