diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index f4094c5..9a0b98c 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -24,4 +24,5 @@ jobs: LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.LIBRARIAN_SONATYPE_PASSWORD }} LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY }} LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD }} + LIBRARIAN_GOOGLE_SERVICES_JSON: ${{ secrets.LIBRARIAN_GOOGLE_SERVICES_JSON }} GH_TOKEN: ${{ github.token }} \ No newline at end of file diff --git a/.github/workflows/publish-snapshot.yaml b/.github/workflows/publish-snapshot.yaml index 7c62179..07ad91f 100644 --- a/.github/workflows/publish-snapshot.yaml +++ b/.github/workflows/publish-snapshot.yaml @@ -17,3 +17,4 @@ jobs: LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.LIBRARIAN_SONATYPE_PASSWORD }} LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY }} LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD }} + LIBRARIAN_GOOGLE_SERVICES_JSON: ${{ secrets.LIBRARIAN_GOOGLE_SERVICES_JSON }} diff --git a/apollo-mockserver/build.gradle.kts b/apollo-mockserver/build.gradle.kts index 636d70f..5f53524 100644 --- a/apollo-mockserver/build.gradle.kts +++ b/apollo-mockserver/build.gradle.kts @@ -1,11 +1,11 @@ -import com.gradleup.librarian.gradle.librarianModule +import com.gradleup.librarian.gradle.Librarian import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi plugins { id("org.jetbrains.kotlin.multiplatform") } -librarianModule(true) +Librarian.module(project) kotlin { jvm() diff --git a/apollo-mockserver/librarian.properties b/apollo-mockserver/librarian.module.properties similarity index 100% rename from apollo-mockserver/librarian.properties rename to apollo-mockserver/librarian.module.properties diff --git a/build.gradle.kts b/build.gradle.kts index bd2d0d0..20b8121 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,8 +2,7 @@ import com.gradleup.librarian.gradle.librarianRoot plugins { alias(libs.plugins.kgp).apply(false) - id("com.gradleup.librarian").version("0.0.6").apply(false) - id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.16.3" apply false + id("com.gradleup.librarian").version("0.0.8-SNAPSHOT-b703634bb1858f471503e23d2c23d7aeae9d6120").apply(false) } librarianRoot() diff --git a/librarian.properties b/librarian.root.properties similarity index 79% rename from librarian.properties rename to librarian.root.properties index 5207def..bd55217 100644 --- a/librarian.properties +++ b/librarian.root.properties @@ -14,4 +14,6 @@ pom.description=KMP ready HTTP mock server pom.vcsUrl=https://github.com/apollographql/apollo-kotlin-mockserver pom.developer=Apollo Kotlin Mockserver contributors pom.license=MIT License -pom.licenseUrl=https://raw.githubusercontent.com/apollographql/apollo-kotlin-mockserver/main/LICENSE + +gcs.bucket=apollo-snapshots +gcs.prefix=m2 \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index ac2e20e..3540017 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,7 @@ pluginManagement { listOf(repositories, dependencyResolutionManagement.repositories).forEach { it.mavenCentral() + it.maven("https://storage.googleapis.com/gradleup/m2") } }