Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
GlennFolker committed Nov 2, 2020
1 parent 1ea735b commit caa16f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 47 deletions.
12 changes: 0 additions & 12 deletions .classpath

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@

bin/
build/

.classpath
.project
34 changes: 0 additions & 34 deletions .project

This file was deleted.

10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ext{
}
}

task jarAndroid{
task jarAndroid(type: Jar){
dependsOn "jar"

doLast{
Expand All @@ -33,6 +33,10 @@ task jarAndroid{

doExec("d8 $dependencies --min-api 14 --output ${appName}Android.jar ${appName}Desktop.jar")
}

manifest{
attributes("Main-Class": mainClassName)
}
}

jar{
Expand All @@ -56,4 +60,8 @@ task deploy(type: Jar){
delete{ delete "$buildDir/libs/${appName}Desktop.jar" }
delete{ delete "$buildDir/libs/${appName}Android.jar" }
}

manifest{
attributes("Main-Class": mainClassName)
}
}

0 comments on commit caa16f5

Please sign in to comment.