Skip to content

Commit

Permalink
Update build gradle setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rgryta authored Oct 31, 2024
1 parent 5043a5d commit 9977b7e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ file("version.properties").inputStream().use { stream ->
}

group = "io.wellmate"
val library: String = "api.client"
version = versions.getProperty("version")

kotlin {
Expand Down Expand Up @@ -75,11 +76,11 @@ kotlin {
}

android {
namespace = group.toString()
compileSdk = 35
namespace = "$group.$library"
compileSdk = libs.versions.android.compileSdk.get().toInt()

defaultConfig {
minSdk = 26
minSdk = libs.versions.android.minSdk.get().toInt()
}
}

Expand Down Expand Up @@ -125,8 +126,8 @@ publishing {

mavenPublishing {
coordinates(
groupId = "io.wellmate",
artifactId = "api.client",
groupId = group.toString(),
artifactId = library.toString(),
version = versions.getProperty("version")
)

Expand Down

0 comments on commit 9977b7e

Please sign in to comment.