mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-19 14:04:22 +01:00
61 lines
1.4 KiB
Groovy
61 lines
1.4 KiB
Groovy
version '0.4.0-rc3' // generated; do not edit
|
|
group 'com.example.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 {
|
|
// Bumping the plugin compileSdkVersion requires all clients of this plugin
|
|
// to bump the version in their app.
|
|
compileSdkVersion 34
|
|
|
|
// 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_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 24
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "net.java.dev.jna:jna:5.14.0@aar"
|
|
/* JSON serialization */
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3'
|
|
}
|