Skip to content

Commit eaf9a3c

Browse files
committed
updates:
- AGP to 8.2.1 - kotlin to 1.9.22 - material to 1.11.0 - okio to 2.9.0 - dagger to 2.50 - add example usage of KSP on glide library
1 parent 11ae20a commit eaf9a3c

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

generators/app/templates/app/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
id("com.android.application")
55
kotlin("android")
66
kotlin("kapt")
7+
id("com.google.devtools.ksp")
78
}
89

910
android {
@@ -26,6 +27,7 @@ android {
2627

2728
buildFeatures {
2829
viewBinding = true
30+
buildConfig = true
2931
}
3032

3133
sourceSets {
@@ -122,7 +124,7 @@ dependencies {
122124
//Glide
123125
implementation(libs.glide)
124126
implementation(libs.glide.okhttp)
125-
kapt(libs.glide.compiler)
127+
ksp(libs.glide.compiler)
126128

127129
//RxJava
128130
implementation(libs.rx.android)

generators/app/templates/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
plugins {
44
alias(libs.plugins.android.application) apply false
55
alias(libs.plugins.kotlin.gradlePlugin) apply false
6+
alias(libs.plugins.ksp) apply false
67
}
78

89
tasks.register("clean",Delete::class){

generators/app/templates/gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ android.useAndroidX=true
1919
android.enableJetifier=true
2020
# Kotlin code style for this project: "official" or "obsolete":
2121
kotlin.code.style=official
22-
android.defaults.buildfeatures.buildconfig=true
2322
android.nonTransitiveRClass=false
2423
android.nonFinalResIds=false

generators/app/templates/gradle/libs.versions.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[versions]
2-
kotlin = "1.8.0"
3-
androidGradlePlugin = "8.1.4"
2+
kotlin = "1.9.22"
3+
ksp = "1.9.22-1.0.16"
4+
androidGradlePlugin = "8.2.1"
45
androidxAppCompat = "1.6.1"
56
androidxCore = "1.12.0"
67
androidxConstraintlayout = "2.1.4"
7-
material = "1.10.0"
8+
material = "1.11.0"
89
sdpAndroid = "1.0.4"
910
androidxRecyclerview = "1.3.2"
1011
androidxCardview = "1.0.0"
@@ -24,8 +25,8 @@ rxAndroid = "2.1.1"
2425
rxJava = "2.2.9"
2526
retrofit = "2.9.0"
2627
okhttp = "4.9.0"
27-
okio = "2.8.0"
28-
dagger = "2.41"
28+
okio = "2.9.0"
29+
dagger = "2.50"
2930
javaxAnnotation = "10.0-b28"
3031

3132
[libraries]
@@ -74,4 +75,5 @@ javax-annotation = { group = "org.glassfish", name = "javax.annotation", version
7475

7576
[plugins]
7677
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
77-
kotlin-gradlePlugin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
78+
kotlin-gradlePlugin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
79+
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }

generators/app/templates/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip

info.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"minAndroidSDK": "26",
33
"targetAndroidSDK": "34",
4-
"kotlin": "1.8.0",
5-
"agp": "8.1.4",
4+
"kotlin": "1.9.22",
5+
"agp": "8.2.1",
66
"yeoman": "5.6.1"
77
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-android-kotlin-mvvm",
3-
"version": "1.8.2",
3+
"version": "1.8.3",
44
"description": "Android Boilerplate Code with Kotlin & MVVM",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)