Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
danbrough committed Apr 4, 2023
1 parent f0832ef commit 027b64a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ xtras.dir.packages=/usr/local/kotlinxtras/packages
# otherwise everything is included
#Print xtras log statements to stdout as well as the gradle log
xtras.log.stdout=true
sonatypeRepoId=orgdanbrough-1481
sonatypeRepoId=orgdanbrough-1482
bootstrap=false
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,18 @@ internal fun LibraryExtension.registerProvideArchiveTask(target: KonanTarget): T
"Ensures that the binary archive for $libName:${target.platformName} exists in the ${project.xtrasPackagesDir} folder"

val archiveFile = archiveFile(target)
println("DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD deferToPrebuiltPackages: $deferToPrebuiltPackages")
val provideArchiveTaskName =
if (deferToPrebuiltPackages) downloadArchiveTaskName(target) else createArchiveTaskName(target)

dependsOn(provideArchiveTaskName)

doFirst {
project.log("$name: deferToPrebuiltPackages:$deferToPrebuiltPackages archiveTask: $provideArchiveTaskName")
}

onlyIf {
!archiveFile.exists()
project.log("$name: deferToPrebuiltPackages:$deferToPrebuiltPackages")
}
/*
onlyIf {
!archiveFile.exists()
}*/

outputs.file(archiveFile)
}
Expand Down
4 changes: 4 additions & 0 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

## unused
version.org.danbrough..klog=0.0.2-beta02

version.org.jetbrains.dokka..dokka-gradle-plugin=1.8.10

version.kotlin=1.8.20

plugin.org.jetbrains.dokka=1.8.10

0 comments on commit 027b64a

Please sign in to comment.