Skip to content

Commit

Permalink
increase version
Browse files Browse the repository at this point in the history
  • Loading branch information
talhafaki committed Nov 23, 2023
1 parent af7ec26 commit 28786c5
Showing 1 changed file with 13 additions and 33 deletions.
46 changes: 13 additions & 33 deletions countrycp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
buildscript {
repositories {
google()
mavenCentral()
mavenLocal()
}

dependencies {
classpath(libs.gradle)
classpath(libs.kotlin.gradle.plugin)
}
}

@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
plugins {
alias(libs.plugins.androidLibrary)
Expand Down Expand Up @@ -42,11 +29,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = JavaVersion.VERSION_17.toString()
}
buildFeatures {
compose = true
Expand All @@ -56,17 +43,6 @@ android {
}
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

dependencies {

implementation(libs.androidx.core.ktx)
Expand All @@ -84,12 +60,16 @@ dependencies {
androidTestImplementation(libs.androidx.espresso.core)
}

publishing {
publications {
register<MavenPublication>("release") {
groupId = "com.github.tfaki"
artifactId = "countrycp"
version = "1.0.0"
afterEvaluate {
publishing {
publications {
register<MavenPublication>("release") {
groupId = "com.github.tfaki"
artifactId = "countrycp"
version = "1.0.1"

from(components["release"])
}
}
}
}

0 comments on commit 28786c5

Please sign in to comment.