Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/guide/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ <h2><span class="num">04</span><span data-lang="en">Use it from Maven Central</s
// build.gradle.kts of a Kotlin Multiplatform module
plugins {
kotlin(&quot;multiplatform&quot;)
id(&quot;org.thisisthepy.python.multiplatform.bindings&quot;) version &quot;3.15.0-alpha02&quot;
id(&quot;org.thisisthepy.python.multiplatform.bindings&quot;) version &quot;3.15.0-alpha03&quot;
}
kotlin {
sourceSets.commonMain.dependencies {
implementation(&quot;org.thisisthepy:python-multiplatform:3.15.0-alpha02&quot;)
implementation(&quot;org.thisisthepy:python-multiplatform:3.15.0-alpha03&quot;)
}
}</code></pre>
<p><span data-lang="en">The library, the KSP processor and the Gradle plugin share one version, <code>$pythonVersion-$libraryVersionSuffix</code>. A version tag publishes them in one deployment through <code>.github/workflows/maven-central.yml</code>; until a release has been published there, resolve from <code>mavenLocal()</code> after <code>./gradlew publishAllToMavenLocal</code>.</span><span data-lang="ko">라이브러리, KSP 프로세서, Gradle 플러그인은 <code>$pythonVersion-$libraryVersionSuffix</code> 라는 한 버전을 쓴다. 버전 태그를 달면 <code>.github/workflows/maven-central.yml</code> 이 셋을 한 번의 배포로 올린다. 릴리스가 올라가기 전에는 <code>./gradlew publishAllToMavenLocal</code> 뒤에 <code>mavenLocal()</code> 에서 가져온다.</span></p>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pythonAppleSupportBuild=b11
# Every published artifact (library, KSP processor, Gradle plugin) is versioned
# "$pythonVersion-$libraryVersionSuffix"; each build derives it from these two values and fails if
# its own version disagrees (#70).
libraryVersionSuffix=alpha02
libraryVersionSuffix=alpha03

# GraalVM native-image (sample's nativeCompile task). Liberica NIK is not in a location Gradle's
# toolchain auto-detection scans, so it is registered explicitly here. Adding a path only makes a
Expand Down
2 changes: 1 addition & 1 deletion python-multiplatform-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ val rootGradleProperties = Properties().apply {
}
fun rootProperty(name: String, fallback: String): String =
findProperty(name)?.toString() ?: rootGradleProperties.getProperty(name) ?: fallback
val publishedVersion = "${rootProperty("pythonVersion", "3.15.0")}-${rootProperty("libraryVersionSuffix", "alpha02")}"
val publishedVersion = "${rootProperty("pythonVersion", "3.15.0")}-${rootProperty("libraryVersionSuffix", "alpha03")}"
version = publishedVersion

/**
Expand Down