Files
apskel-pos-flutter-v2/android/settings.gradle.kts
T
efrilmandClaude Opus 5 865897fc04 config: upgrade gradle 8.14.3, agp 8.11.1, kotlin 2.2.20
Flutter 3.47 menolak build dengan Gradle < 8.14.0, AGP < 8.11.1, dan
Kotlin < 2.2.20.

Hapus juga assets/icons/ dan assets/json/ dari pubspec: foldernya tidak
pernah ada dan tidak dirujuk dari lib/, menyebabkan error "unable to find
directory entry" saat build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-02 19:10:11 +07:00

27 lines
809 B
Kotlin

pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
id("com.google.gms.google-services") version "4.4.4" apply false
}
include(":app")