Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: ./gradlew assemble test

android-test:
if: ${{ false }} # Disable for now: https://github.com/line/lich/issues/131
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion component-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion libs.versions.compose.get()
kotlinCompilerExtensionVersion libs.versions.composeCompiler.get()
}
}

Expand Down
48 changes: 25 additions & 23 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
[versions]
compileSdk = "31"
targetSdk = "31"
androidGradlePlugin = "7.1.2"
androidLint = "30.1.2"
androidMaterial = "1.5.0"
kotlin = "1.6.10"
kotlinCoroutines = "1.6.0"
kotlinMetadataJvm = "0.4.2"
ksp = "1.6.10-1.0.4"
compose = "1.1.1"
androidxActivity = "1.4.0"
androidxAppcompat = "1.4.1"
androidxConstraintlayout = "2.1.3"
androidxFragment = "1.4.1"
androidxLifecycle = "2.4.1"
androidxNavigation = "2.4.1"
androidxRoom = "2.4.2"
compileSdk = "32"
targetSdk = "32"
androidGradlePlugin = "7.2.2"
androidLint = "30.2.2"
androidMaterial = "1.6.1"
kotlin = "1.7.10"
kotlinCoroutines = "1.6.4"
kotlinMetadataJvm = "0.5.0"
ksp = "1.7.10-1.0.6"
compose = "1.2.0"
composeCompiler = "1.3.0-rc02"
androidxActivity = "1.5.1"
androidxAppcompat = "1.4.2"
androidxConstraintlayout = "2.1.4"
androidxFragment = "1.5.1"
androidxLifecycle = "2.5.1"
androidxNavigation = "2.5.1"
androidxRoom = "2.4.3"
androidxTestCore = "1.4.0"
androidxTestRunner = "1.4.0"
androidxTestJunit = "1.1.3"
androidxTestEspresso = "3.4.0"
autoService = "1.0.1"
autoServiceKsp = "1.0.0"
okhttp = "4.9.3"
kotlinpoet = "1.10.2"
okhttp = "4.10.0"
kotlinpoet = "1.12.0"
thrift = "0.16.0"
dexmaker = "2.28.1"
mockito = "4.4.0"
dexmaker = "2.28.3"
mockito = "4.6.1"
mockitoKotlin = "4.0.0"
mockk = "1.12.3"
robolectric = "4.7.3"
mockk = "1.12.5"
robolectric = "4.8.1"
nexusStaging = "0.30.0"

[libraries]
Expand Down Expand Up @@ -64,6 +65,7 @@ compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", versi
compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview", version.ref = "compose" }

# androidxActivity
androidx-activity = { group = "androidx.activity", name = "activity", version.ref = "androidxActivity" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "androidxActivity" }

# androidxAppcompat
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 6 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions savedstate/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,9 @@ android {

dependencies {
api libs.androidx.lifecycle.viewmodel.savedstate
implementation libs.androidx.activity
compileOnly libs.androidx.fragment
lintPublish project(':static-analysis')
// https://github.com/line/lich/issues/114
constraints {
implementation(libs.androidx.lifecycle.viewmodel.ktx) {
because 'lifecycle-viewmodel-ktx:2.3 conflicts with lifecycle-viewmodel:2.4+'
}
}

kspAndroidTest project(':savedstate-compiler')
androidTestImplementation libs.bundles.test.instrumentation
Expand Down
2 changes: 1 addition & 1 deletion viewmodel-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion libs.versions.compose.get()
kotlinCompilerExtensionVersion libs.versions.composeCompiler.get()
}
}

Expand Down
7 changes: 1 addition & 6 deletions viewmodel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,10 @@ android {
dependencies {
api libs.kotlin.coroutines.android
api libs.androidx.lifecycle.viewmodel.savedstate
implementation libs.androidx.activity
compileOnly libs.androidx.fragment
compileOnly libs.androidx.navigation.fragment
lintPublish project(':static-analysis')
// https://github.com/line/lich/issues/114
constraints {
implementation(libs.androidx.lifecycle.viewmodel.ktx) {
because 'lifecycle-viewmodel-ktx:2.3 conflicts with lifecycle-viewmodel:2.4+'
}
}

androidTestImplementation project(':savedstate')
kspAndroidTest project(':savedstate-compiler')
Expand Down