Skip to content

Commit

Permalink
Configure project for Snapshot builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Oct 17, 2023
1 parent 4366ec0 commit 720bfd4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("multiplatform") apply false
kotlin("multiplatform") version libs.versions.kotlin apply false
alias(libs.plugins.mavenPublish) apply false
}

Expand Down Expand Up @@ -28,6 +28,9 @@ subprojects {
google()
mavenLocal()
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ open class KtorfitGradleConfiguration {
* version number of the compiler plugin
*/
@Deprecated("Update the Gradle plugin instead of updating this version")
var version: String = "KTORFIT_SNAPSHOT" // remember to bump this version before any release!
var version: String = "KTORFIT-SNAPSHOT" // remember to bump this version before any release!

/**
* used to get debug information from the compiler plugin
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#versions
kotlinVersion=1.8.22

org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=8g

Expand Down
7 changes: 2 additions & 5 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
pluginManagement {
val kotlinVersion: String by settings
plugins {
kotlin("multiplatform") version kotlinVersion apply false
}

repositories {
google()
mavenLocal()
Expand All @@ -20,7 +17,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "de.jensklingenberg.ktorfit") {
useModule("de.jensklingenberg.ktorfit:gradle-plugin:${requested.version}")
useModule("de.jensklingenberg.ktorfit:de.jensklingenberg.ktorfit.gradle.plugin:${requested.version}")
}
}

Expand Down

0 comments on commit 720bfd4

Please sign in to comment.