-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AGP, Kotlin, Compose, Api level and other dependecies #40
Changes from 2 commits
a81ab68
32f8059
aafbeb8
2796b87
3e276bd
40c04cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
yamal-alm marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,13 @@ plugins { | |
} | ||
|
||
android { | ||
compileSdk 33 | ||
namespace "com.telefonica.tweaks.demo" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. new |
||
compileSdk 34 | ||
|
||
defaultConfig { | ||
applicationId "com.telefonica.tweaks.demo" | ||
minSdk 21 | ||
targetSdk 33 | ||
targetSdk 34 | ||
versionCode 1 | ||
versionName "1.0" | ||
|
||
|
@@ -28,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 = '17' | ||
} | ||
buildFeatures { | ||
compose true | ||
|
@@ -55,20 +56,23 @@ android { | |
dependencies { | ||
|
||
implementation project(':library') | ||
implementation 'androidx.core:core-ktx:1.9.0' | ||
implementation 'androidx.appcompat:appcompat:1.5.1' | ||
implementation 'com.google.android.material:material:1.7.0' | ||
implementation "androidx.compose.ui:ui:$compose_version" | ||
implementation "androidx.compose.material:material:$compose_material_version" | ||
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" | ||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' | ||
implementation 'androidx.activity:activity-compose:1.6.1' | ||
implementation 'androidx.core:core-ktx:1.13.0' | ||
implementation 'androidx.appcompat:appcompat:1.6.1' | ||
implementation 'com.google.android.material:material:1.11.0' | ||
|
||
implementation("androidx.navigation:navigation-compose:2.6.0-alpha04") | ||
implementation platform("androidx.compose:compose-bom:$compose_bom_version") | ||
implementation "androidx.compose.ui:ui" | ||
implementation "androidx.compose.material:material" | ||
implementation "androidx.compose.ui:ui-tooling-preview" | ||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0' | ||
implementation 'androidx.activity:activity-compose:1.9.0' | ||
|
||
implementation("androidx.navigation:navigation-compose:2.7.7") | ||
|
||
testImplementation 'junit:junit:4.13.2' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.4' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' | ||
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" | ||
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.5' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' | ||
androidTestImplementation platform("androidx.compose:compose-bom:$compose_bom_version") | ||
androidTestImplementation "androidx.compose.ui:ui-test-junit4" | ||
debugImplementation "androidx.compose.ui:ui-tooling" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
buildscript { | ||
ext { | ||
compose_compiler_version = '1.4.2' | ||
kotlin_version = '1.8.10' | ||
compose_version = '1.3.2' | ||
compose_material_version = '1.4.0' | ||
dagger_version = "2.43.2" | ||
compose_compiler_version = '1.5.12' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. compose kotlin compiler accoding to this table based on kotlin version |
||
compose_bom_version = '2024.04.01' | ||
kotlin_version = '1.9.23' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. latest kotlin version |
||
dagger_version = "2.51.1" | ||
Comment on lines
-4
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ideally we should use a toml catalog, but that is out of scope of this task |
||
} | ||
repositories { | ||
google() | ||
|
@@ -15,7 +14,7 @@ buildscript { | |
} | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.4.2' | ||
classpath 'com.android.tools.build:gradle:8.2.2' | ||
Comment on lines
-18
to
+17
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. agp updated as well |
||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0" | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Oct 06 17:13:45 CEST 2021 | ||
#Tue Apr 23 11:46:57 CEST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. library module:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ubuntu-latests uses Java 11 by default, we need to set 17 explicitly