Files
breez-sdk-liquid/packages/flutter/android/build.gradle
Roei Erez d349490e31 Merge branch 'v0.7.2-dev1'
* v0.7.2-dev1:
  update version to 0.7.2-dev1
  update version to 0.7.2.dev1
2025-03-12 16:03:38 +02:00

63 lines
1.5 KiB
Groovy

version '0.7.2-dev1' // generated; do not edit
group 'technology.breez.flutter_breez_liquid'
buildscript {
ext.kotlin_version = '1.8.20'
repositories {
google()
mavenCentral()
}
dependencies {
// The Android Gradle Plugin knows how to build native code with the NDK.
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlinx-serialization'
android {
namespace = "technology.breez.flutter_breez_liquid"
// Bumping the plugin compileSdkVersion requires all clients of this plugin
// to bump the version in their app.
compileSdkVersion 35
// Bumping the plugin ndkVersion requires all clients of this plugin to bump
// the version in their app and to download a newer version of the NDK.
ndkVersion "21.1.6352462"
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 33
}
}
dependencies {
implementation "net.java.dev.jna:jna:5.14.0@aar"
/* JSON serialization */
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3'
}