Skip to content

Commit

Permalink
try build again
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Aug 16, 2023
1 parent c6202cd commit e65e65b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 74 deletions.
28 changes: 2 additions & 26 deletions vclib-aries/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import at.asitplus.gradle.bouncycastle
import at.asitplus.gradle.commonImplementationDependencies
import at.asitplus.gradle.commonIosExports
import at.asitplus.gradle.exportIosFramework
import at.asitplus.gradle.*

plugins {
kotlin("multiplatform")
Expand Down Expand Up @@ -50,22 +47,7 @@ repositories {
mavenCentral()
}


val dokkaOutputDir = "$buildDir/dokka"
tasks.dokkaHtml {
// dependsOn(":vclib:transformIosMainCInteropDependenciesMetadataForIde") //task dependency bug workaround
// dependsOn(":vclib-openid:transformIosMainCInteropDependenciesMetadataForIde") //task dependency bug workaround
outputDirectory.set(file(dokkaOutputDir))
}
val deleteDokkaOutputDir by tasks.register<Delete>("deleteDokkaOutputDirectory") {
delete(dokkaOutputDir)
}
val javadocJar = tasks.register<Jar>("javadocJar") {
dependsOn(deleteDokkaOutputDir, tasks.dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaOutputDir)
}

val javadocJar = setupDokka()

publishing {
publications {
Expand Down Expand Up @@ -118,9 +100,3 @@ signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
sign(publishing.publications)
}

val signTasks = tasks.filter { it.name.startsWith("sign") }
tasks.filter { it.name.startsWith("publish") }.forEach {
println("DEP: ${it.name} now depends on ${signTasks.joinToString { it.name }}")
it.dependsOn(*signTasks.toTypedArray())
}
24 changes: 2 additions & 22 deletions vclib-openid/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import at.asitplus.gradle.bouncycastle
import at.asitplus.gradle.commonImplementationDependencies
import at.asitplus.gradle.commonIosExports
import at.asitplus.gradle.exportIosFramework
import at.asitplus.gradle.*

plugins {
kotlin("multiplatform")
Expand Down Expand Up @@ -50,18 +47,7 @@ repositories {
mavenCentral()
}

val dokkaOutputDir = "$buildDir/dokka"
tasks.dokkaHtml {
outputDirectory.set(file(dokkaOutputDir))
}
val deleteDokkaOutputDir by tasks.register<Delete>("deleteDokkaOutputDirectory") {
delete(dokkaOutputDir)
}
val javadocJar = tasks.register<Jar>("javadocJar") {
dependsOn(deleteDokkaOutputDir, tasks.dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaOutputDir)
}
val javadocJar = setupDokka()

publishing {
publications {
Expand Down Expand Up @@ -114,9 +100,3 @@ signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
sign(publishing.publications)
}

val signTasks = tasks.filter { it.name.startsWith("sign") }
tasks.filter { it.name.startsWith("publish") }.forEach {
println("DEP: ${it.name} now depends on ${signTasks.joinToString { it.name }}")
it.dependsOn(*signTasks.toTypedArray())
}
26 changes: 1 addition & 25 deletions vclib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,7 @@ repositories {
}


val dokkaOutputDir = "$buildDir/dokka"
tasks.dokkaHtml {
// dependsOn("transformIosMainCInteropDependenciesMetadataForIde") //work around bug
outputDirectory.set(file(dokkaOutputDir))
}
val deleteDokkaOutputDir by tasks.register<Delete>("deleteDokkaOutputDirectory") {
delete(dokkaOutputDir)
}
val javadocJar = tasks.register<Jar>("javadocJar") {
dependsOn(deleteDokkaOutputDir, tasks.dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaOutputDir)
}
val javadocJar = setupDokka()

publishing {
publications {
Expand Down Expand Up @@ -141,15 +129,3 @@ signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
sign(publishing.publications)
}

val signTasks = tasks.filter { it.name.startsWith("sign") }
tasks.filter { it.name.startsWith("publish") }.forEach {
println("DEP: ${it.name} now depends on ${signTasks.joinToString { it.name }}")
it.dependsOn(*signTasks.toTypedArray())
}

tasks.dokkaHtml {
val transform = tasks.filter { it.name.startsWith("transform") }
println("adding dokkaHTML dependency to " + transform.joinToString { it.name })
dependsOn(*transform.toTypedArray())
}

0 comments on commit e65e65b

Please sign in to comment.