File tree Expand file tree Collapse file tree 6 files changed +4
-18
lines changed
gradle/build-logic/src/main/kotlin Expand file tree Collapse file tree 6 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 2323 run : long="${{ github.ref }}"; version=${long#"refs/tags/v"}; echo "version=${version}" >> $GITHUB_ENV
2424 - uses : actions/checkout@v3
2525 - uses : gradle/wrapper-validation-action@v1
26- - uses : actions/setup-java@v3
27- with :
28- distribution : ' adopt'
29- java-version : 11
3026 - uses : gradle/gradle-build-action@v2
3127 - name : Build with Gradle
3228 run : ./gradlew build
Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v3
2020 - uses : gradle/wrapper-validation-action@v1
21- - uses : actions/setup-java@v3
22- with :
23- distribution : ' adopt'
24- java-version : 11
2521 - uses : gradle/gradle-build-action@v2
2622 - name : Build with Gradle
2723 run : ./gradlew build
Original file line number Diff line number Diff line change 2424 - uses : actions/configure-pages@v3
2525 - uses : actions/checkout@v3
2626 - uses : gradle/wrapper-validation-action@v1
27- - uses : actions/setup-java@v3
28- with :
29- distribution : ' adopt'
30- java-version : 11
3127 - uses : gradle/gradle-build-action@v2
3228 - name : Generate Docs
33- run : ./gradlew dokkaHtmlMultimodule
29+ run : ./gradlew dokkaHtmlMultiModule
3430 - name : Upload Docs
3531 uses : actions/upload-pages-artifact@v1
3632 with :
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import io.gitlab.arturbosch.detekt.*
66 */
77
88plugins {
9- kotlin(" multiplatform" ) apply false
109 id(" org.jetbrains.kotlinx.binary-compatibility-validator" )
1110 id(" io.github.gradle-nexus.publish-plugin" )
1211 id(" org.jetbrains.dokka" )
@@ -19,7 +18,7 @@ tasks.dokkaHtmlMultiModule {
1918}
2019
2120nexusPublishing {
22- repositories {
21+ this . repositories {
2322 sonatype {
2423 username.set(System .getProperty(" sonartype.apiKey" ) ? : System .getenv(" SONARTYPE_APIKEY" ))
2524 password.set(System .getProperty(" sonartype.apiToken" ) ? : System .getenv(" SONARTYPE_APITOKEN" ))
@@ -30,7 +29,7 @@ nexusPublishing {
3029}
3130
3231detekt {
33- source = files(rootProject.rootDir)
32+ source.from( files(rootProject.rootDir) )
3433 parallel = true
3534 autoCorrect = true
3635 buildUponDefaultConfig = true
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ plugins {
66
77plugins.apply (" org.jetbrains.kotlin.multiplatform" )
88
9- the <KotlinMultiplatformExtension >(). apply {
9+ extensions.configure <KotlinMultiplatformExtension >(" kotlin " ) {
1010 kotlinConfig()
1111}
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ publishing {
4040(System .getProperty(" signing.privateKey" ) ? : System .getenv(" SIGNING_PRIVATE_KEY" ))?.let {
4141 String (java.util.Base64 .getDecoder().decode(it)).trim()
4242}?.let { key ->
43- println (" found key, config signing" )
4443 signing {
4544 val signingPassword = System .getProperty(" signing.password" ) ? : System .getenv(" SIGNING_PASSWORD" )
4645 useInMemoryPgpKeys(key, signingPassword)
You can’t perform that action at this time.
0 commit comments