Gitea CI / Check code and tests (push) Successful in 7m38s
Gitea CI / Build Android APK (push) Successful in 6m20s
Gitea CI / Audit and package Windows x64 (push) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (push) Canceled after 0s
Gitea CI / Gitea CI passed (push) Canceled after 0s
Gitea CI / Build Windows x64 app (push) Canceled after 14m42s
39 lines
1.2 KiB
Kotlin
39 lines
1.2 KiB
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 "9.2.1" apply false
|
|
id("org.jetbrains.kotlin.android") version "2.3.20" apply false
|
|
}
|
|
|
|
include(":app")
|
|
|
|
// Native source development is opt-in; default resolution uses Gitea Maven packages.
|
|
val nativeAndroidPath = providers.gradleProperty("cutdex.android.path")
|
|
.orElse(providers.environmentVariable("CUTDEX_ANDROID_PATH"))
|
|
.orNull
|
|
nativeAndroidPath?.takeIf { it.isNotBlank() }?.let { nativePath ->
|
|
includeBuild(nativePath) {
|
|
dependencySubstitution {
|
|
substitute(module("dev.cutdex:cutdex-android")).using(project(":cutdex-android"))
|
|
}
|
|
}
|
|
}
|