llm, refactor the AGENTS version section.

This commit is contained in:
me committed 2026-11-01 08:04:22 -07:00
1 parent 1ded62a3d4
commit 609edd6c3b
1 file changed
+39 -14
+39 -14
View File
@@ -653,23 +653,48 @@
Android : paths are from the project root. Android : paths are from the project root.
Flutter : paths are under the folder `android`. Flutter : paths are under the folder `android`.
- Gradle: 9.8.2
- gradle/wrapper/grade-wrapper.properties - gradle/wrapper/grade-wrapper.properties
- distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-bin.zip - Gradle 9.8.2
- AGP: 9.5.0 ```
- build.gradle.kts ...
- id("com.android.application") version "9.5.0" apply false distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-bin.zip
- Kotlin: 2.4.21 ```
- settings.gradle.kts - settings.gradle.kts
- id("org.jetbrains.kotlin.android") version "2.4.21" apply false - AGP 9.5.0, Kotlin 2.4.21, Flutter Plugin Loader 1.0.0
- Java: JDK 17 ```
id("com.android.application") version "9.5.0" apply false
id("org.jetbrains.kotlin.android") version "2.4.21" apply false
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
```
- app/build.gradle.kts - app/build.gradle.kts
- sourceCompatibility = JavaVersion.VERSION_17 - Java JDK 17
- targetCompatibility = JavaVersion.VERSION_17 ```
- jvmTarget.set(JvmTarget.JVM_17) compileOptions {
- Flutter (plugin loader): 1.0.0 sourceCompatibility = JavaVersion.VERSION_17
- settings.gradle.kts targetCompatibility = JavaVersion.VERSION_17
- id("dev.flutter.flutter-plugin-loader") version "1.0.0" }
// AGP 9's bundled Kotlin - use the native DSL
kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}
```
- Also enable minify and shrink while in there.
```
buildTypes {
getByName("release") {
...
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
```
Regardless of whether AGP bundles Kotlin, we need to specify it to Regardless of whether AGP bundles Kotlin, we need to specify it to
avoid things like "Your project's Kotlin version (2.2.10) is lower avoid things like "Your project's Kotlin version (2.2.10) is lower