Skip to content

Commit

Permalink
fix: ReFix "artifacts" declaration of runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Oct 16, 2024
1 parent 24839ea commit 43297df
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions gdx-jnigen-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -222,17 +222,12 @@ tasks.forEach {


artifacts {
jnigenPackageAllAndroid.getOutputs().getFiles().each {
println "Adding as artifact ${it.getName()}"
archives it
}
jnigenPackageAllIOS.getOutputs().getFiles().each {
println "Adding as artifact ${it.getName()}"
archives it
}
jnigenPackageAllDesktop.getOutputs().getFiles().each {
println "Adding as artifact ${it.getName()}"
archives it
[jnigenPackageAllAndroid, jnigenPackageAllIOS, jnigenPackageAllDesktop].forEach {packageTask ->
packageTask.getOutputs().getFiles().each { file ->
archives(file) {
builtBy(packageTask)
}
}
}
}

Expand Down

0 comments on commit 43297df

Please sign in to comment.