Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sdks/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
plugins {
kotlin("jvm") version "1.9.22"
kotlin("plugin.serialization") version "1.9.22"
`maven-publish`
}

kotlin {
Expand Down Expand Up @@ -47,3 +48,14 @@ tasks.test {
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}

// This configuration is purely for integration testing purposes.
// It enables publishing the Kotlin SDK to the local maven cache (e.g. `./gradlew publishToMavenLocal`),
// so that local platform test suites (like `firebase-android-sdk`) can resolve and compile it.
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
}
Loading