-
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
Conversation
.github/workflows/manual_release.yml
Outdated
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
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
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
new namespace
declaration coming from AGP 8.2.2
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' | ||
compose_bom_version = '2024.04.01' | ||
kotlin_version = '1.9.23' | ||
dagger_version = "2.51.1" |
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.
ideally we should use a toml catalog, but that is out of scope of this task
dagger_version = "2.43.2" | ||
compose_compiler_version = '1.5.12' | ||
compose_bom_version = '2024.04.01' | ||
kotlin_version = '1.9.23' |
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.
latest kotlin version
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 comment
The reason will be displayed to describe this comment to others. Learn more.
compose kotlin compiler accoding to this table based on kotlin version
classpath 'com.android.tools.build:gradle:7.4.2' | ||
classpath 'com.android.tools.build:gradle:8.2.2' |
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.
agp updated as well
library/build.gradle
Outdated
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.
library module:
- target 34
- java 17
- use latest compose version through BOM
- Use ksp instead of kapt for Dagger
- other dependencies updates
build.gradle
Outdated
@@ -24,6 +23,7 @@ buildscript { | |||
plugins { | |||
id("io.gitlab.arturbosch.detekt").version("1.18.1") | |||
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0' apply false | |||
id("com.google.devtools.ksp") version "1.9.23-1.0.20" apply false |
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.
using ksp instead of kapt
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.
Great update!
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.
Great job!
🥅 What's the goal?
Update AGP, Kotlin, Compose, Api level and other dependencies
🚧 How do we do it?
📘 Documentation changes?
🧪 How can I test this?