diff --git a/build.gradle.kts b/build.gradle.kts index ad5e20146..f3501a88b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("multiplatform") apply false - id("com.vanniktech.maven.publish") version "0.20.0" apply false + id("com.vanniktech.maven.publish") version "0.21.0" apply false } @@ -18,7 +18,7 @@ buildscript { } dependencies { - classpath("com.vanniktech:gradle-maven-publish-plugin:0.20.0") + classpath("com.vanniktech:gradle-maven-publish-plugin:0.21.0") classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.7.10") classpath("org.jetbrains.kotlin:kotlin-serialization:1.7.10") classpath("com.android.tools.build:gradle:7.2.2") diff --git a/example/AndroidOnlyExample/app/build.gradle b/example/AndroidOnlyExample/app/build.gradle index 0100c5b99..e0877ac56 100644 --- a/example/AndroidOnlyExample/app/build.gradle +++ b/example/AndroidOnlyExample/app/build.gradle @@ -48,7 +48,7 @@ android { } } } -def ktorfit = "1.0.0-beta12" +def ktorfit = "1.0.0-beta13" def ktor = "2.1.0" dependencies { diff --git a/example/MultiplatformExample/shared/build.gradle.kts b/example/MultiplatformExample/shared/build.gradle.kts index 1b1f915e3..db1cff4da 100644 --- a/example/MultiplatformExample/shared/build.gradle.kts +++ b/example/MultiplatformExample/shared/build.gradle.kts @@ -9,7 +9,7 @@ plugins { version = "1.0" val ktorVersion = "2.1.0" -val ktorfitVersion = "1.0.0-beta12" +val ktorfitVersion = "1.0.0-beta13" kotlin { android() diff --git a/gradle.properties b/gradle.properties index dfece2d50..d9cbd3beb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,6 +29,6 @@ kotlin.native.ignoreDisabledTargets=true kotlin.native.binary.freezing=disabled ksp.version.check=false kotlin.native.binary.memoryModel=experimental -RELEASE_SIGNING_ENABLED=false + org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=2g org.gradle.parallel=true diff --git a/ktorfit-annotations/build.gradle.kts b/ktorfit-annotations/build.gradle.kts index 550a5e3ee..14da25440 100644 --- a/ktorfit-annotations/build.gradle.kts +++ b/ktorfit-annotations/build.gradle.kts @@ -104,7 +104,11 @@ android { } } - +mavenPublishing { + publishToMavenCentral() + // publishToMavenCentral("S01") for publishing through s01.oss.sonatype.org + signAllPublications() +} publishing { publications { diff --git a/ktorfit-ksp/build.gradle.kts b/ktorfit-ksp/build.gradle.kts index 9d02dcbf3..814cd9b0f 100644 --- a/ktorfit-ksp/build.gradle.kts +++ b/ktorfit-ksp/build.gradle.kts @@ -18,7 +18,11 @@ tasks.withType { kotlinOptions.jvmTarget = "1.8" } - +mavenPublishing { + publishToMavenCentral() + // publishToMavenCentral(SonatypeHost.S01) for publishing through s01.oss.sonatype.org + signAllPublications() +} group = "de.jensklingenberg.ktorfit" version = ktorfitVersion diff --git a/ktorfit-lib/build.gradle.kts b/ktorfit-lib/build.gradle.kts index 96b66dc82..8531690b4 100644 --- a/ktorfit-lib/build.gradle.kts +++ b/ktorfit-lib/build.gradle.kts @@ -18,6 +18,11 @@ detekt { buildUponDefaultConfig = false } +mavenPublishing { + publishToMavenCentral() + // publishToMavenCentral(SonatypeHost.S01) for publishing through s01.oss.sonatype.org + signAllPublications() +} tasks.withType { kotlinOptions.jvmTarget = "1.8"