Skip to content

Commit

Permalink
Updated Kotlin to version 1.7.0 and updated other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chRyNaN committed Aug 20, 2022
1 parent e8d8a03 commit 89f01a8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 23 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ buildscript {
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.6.10")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.6.10")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.7.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.7.0")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.2.0-alpha01-dev755")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ object LibraryConstants {

object Android {

const val compileSdkVersion = 31
const val compileSdkVersion = 33
const val minSdkVersion = 25
const val targetSdkVersion = 31
const val targetSdkVersion = 33
}
}
6 changes: 2 additions & 4 deletions navigation-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ kotlin {
dependencies {
api(project(":navigation-core"))

implementation("com.chrynan.presentation:presentation-core:0.7.1")

implementation(compose.runtime)
}
}
Expand All @@ -48,7 +46,7 @@ kotlin {
dependencies {
implementation(compose.ui)
implementation(compose.material)
implementation("androidx.activity:activity-compose:1.4.0")
implementation("androidx.activity:activity-compose:1.5.1")
}
}
val jsMain by getting {
Expand Down Expand Up @@ -100,7 +98,7 @@ android {
tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INHERIT }

dependencies {
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.4.1")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1")
}

afterEvaluate {
Expand Down
10 changes: 5 additions & 5 deletions navigation-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ kotlin {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-common")

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
}
}
val iosMain by sourceSets.getting
Expand Down Expand Up @@ -85,12 +85,12 @@ tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INHERIT }

// Android Specific Dependencies
dependencies {
implementation("androidx.activity:activity-ktx:1.5.0")
implementation("androidx.fragment:fragment-ktx:1.5.0")
implementation("androidx.activity:activity-ktx:1.5.1")
implementation("androidx.fragment:fragment-ktx:1.5.2")
implementation("androidx.core:core-ktx:1.8.0")
implementation("androidx.appcompat:appcompat:1.4.2")
implementation("androidx.appcompat:appcompat:1.5.0")

api("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0")
api("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
}

afterEvaluate {
Expand Down
16 changes: 8 additions & 8 deletions sample-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ group = LibraryConstants.group
version = LibraryConstants.versionName

android {
compileSdk = 31
compileSdk = 33
buildToolsVersion = "30.0.3"

defaultConfig {
Expand Down Expand Up @@ -49,18 +49,18 @@ android {
tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.INHERIT }

dependencies {
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.appcompat:appcompat:1.4.1")
implementation("com.google.android.material:material:1.5.0")
implementation("androidx.core:core-ktx:1.8.0")
implementation("androidx.appcompat:appcompat:1.5.0")
implementation("com.google.android.material:material:1.6.1")

implementation(compose.runtime)
implementation(compose.ui)
implementation(compose.material)

implementation("androidx.compose.compiler:compiler:1.2.0-alpha03")
implementation("androidx.compose.ui:ui-tooling:1.2.0-alpha03")
implementation("androidx.activity:activity-compose:1.4.0")
implementation("androidx.compose.material:material-icons-extended:1.2.0-alpha03")
implementation("androidx.compose.compiler:compiler:1.3.0")
implementation("androidx.compose.ui:ui-tooling:1.3.0-alpha03")
implementation("androidx.activity:activity-compose:1.5.1")
implementation("androidx.compose.material:material-icons-extended:1.3.0-alpha03")

implementation("com.chrynan.presentation:presentation-compose:0.7.1")
implementation("com.chrynan.colors:colors-compose:0.7.2")
Expand Down

0 comments on commit 89f01a8

Please sign in to comment.