nandi/frqpublic Fork 0
879ae1817b8d60763e00199784903bbe3ff7ddae
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

build.gradle.kts · 53 lines · 2.0 KBKotlin Blame HistoryRaw
Build the APK, out of ClojureDart and Flutter e2b0e6b nandi 7d ago1plugins {
2 id("com.android.application")
3 // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
4 id("dev.flutter.flutter-gradle-plugin")
5}
6
7android {
8 namespace = "uk.nandi.frq"
9 compileSdk = flutter.compileSdkVersion
10 // No ndkVersion. The Flutter template sets it, and setting it makes Gradle
11 // ask sdkmanager to install that exact NDK — which fails against a Nix
12 // store it cannot write to. Nothing here has native code to build: the
13 // app is Dart compiled from ClojureDart, and path_provider is platform
14 // channels rather than JNI. See flutter/README.md.
15
16 compileOptions {
17 sourceCompatibility = JavaVersion.VERSION_17
18 targetCompatibility = JavaVersion.VERSION_17
19 }
20
21 defaultConfig {
22 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
23 applicationId = "uk.nandi.frq"
24 // You can update the following values to match your application needs.
25 // For more information, see: https://flutter.dev/to/review-gradle-config.
26 minSdk = flutter.minSdkVersion
27 targetSdk = flutter.targetSdkVersion
28 // Uses the version code from pubspec.yaml. When using split APKs, 1000 * ABI_VERSION
29 // is added automatically by Flutter. (https://developer.android.com/studio/build/configure-apk-splits#configure-APK-versions)
30 // You can force using the value of versionCode by specifying the `-P force-version-code-ignoring-abi=true`
31 // flag during build.
32 versionCode = flutter.versionCode
33 versionName = flutter.versionName
34 }
35
36 buildTypes {
37 release {
38 // TODO: Add your own signing config for the release build.
39 // Signing with the debug keys for now, so `flutter run --release` works.
40 signingConfig = signingConfigs.getByName("debug")
41 }
42 }
43}
44
45kotlin {
46 compilerOptions {
47 jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
48 }
49}
50
51flutter {
52 source = "../.."
53}