Skip to content

Commit

Permalink
Updating Kotlin and Compose Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Younes-Charfaoui committed May 16, 2024
1 parent 7a34948 commit 35b50ae
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ buildscript {
plugins {
id("com.android.application") version "7.4.2" apply false
id("com.android.library") version "7.4.2" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
id("org.jetbrains.kotlin.android") version "1.9.23" apply false
id("com.vanniktech.maven.publish") version "0.27.0"
id("org.jetbrains.dokka") version "1.8.10" apply false
id("org.jetbrains.dokka") version "1.9.20" apply false
}

subprojects {
Expand Down
11 changes: 5 additions & 6 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.3"
kotlinCompilerExtensionVersion = "1.5.11"
}
packagingOptions {
resources {
Expand All @@ -48,9 +48,8 @@ android {
}

dependencies {
val composeUiVersion = "1.4.0"
val composeUiVersion = "1.4.1"
implementation(project(":tarka-ui"))
implementation(project(":tarka-ui-icons"))
implementation("androidx.core:core-ktx:1.10.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
implementation("androidx.activity:activity-compose:1.7.1")
Expand Down
10 changes: 5 additions & 5 deletions tarka-ui-icons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}

buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.3"
kotlinCompilerExtensionVersion = "1.5.11"
}
}

Expand All @@ -48,7 +48,7 @@ publishing {
run {
groupId = "com.tarkalabs"
artifactId = "tarkaui-icons"
version = "1.0.2"
version = "1.0.3"
artifact("$buildDir/outputs/aar/tarka-ui-icons-release.aar")
}
}
Expand Down
12 changes: 6 additions & 6 deletions tarka-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.3"
kotlinCompilerExtensionVersion = "1.5.11"
}
packagingOptions {
resources {
Expand All @@ -66,7 +66,7 @@ publishing {
run {
groupId = "com.tarkalabs"
artifactId = getLibraryArtifactId()
version = "1.1.20"
version = "1.1.21"
artifact("$buildDir/outputs/aar/tarka-ui-release.aar")
}
}
Expand All @@ -92,7 +92,7 @@ dependencies {
implementation("androidx.compose.ui:ui-tooling-preview:$composeUiVersion")
implementation("androidx.compose.material3:material3:1.2.0")
implementation("androidx.compose.foundation:foundation:$composeUiVersion")
api("com.tarkalabs:tarkaui-icons:1.0.2")
api(project(":tarka-ui-icons"))
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.7")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
Expand Down

0 comments on commit 35b50ae

Please sign in to comment.