nc-photos/plugin/android/build.gradle

71 lines
1.5 KiB
Groovy
Raw Normal View History

2022-03-11 15:44:43 +01:00
group 'com.nkming.nc_photos.plugin'
version '1.0-SNAPSHOT'
buildscript {
2022-08-29 07:52:04 +02:00
ext.kotlin_version = '1.6.21'
2022-03-11 15:44:43 +01:00
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
2022-03-11 15:44:43 +01:00
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
2022-03-21 17:16:34 +01:00
compileSdkVersion 31
2022-07-12 21:18:56 +02:00
ndkVersion "23.2.8568313"
2022-03-11 15:44:43 +01:00
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
lintOptions {
disable 'LongLogTag'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 21
2022-05-20 21:23:28 +02:00
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86_64"
}
}
externalNativeBuild {
cmake {
path file('src/main/cpp/CMakeLists.txt')
version '3.18.1'
}
2022-03-11 15:44:43 +01:00
}
}
dependencies {
2022-08-29 07:58:34 +02:00
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.8"
implementation "androidx.annotation:annotation:1.4.0"
implementation "androidx.core:core-ktx:1.8.0"
2022-05-09 16:54:00 +02:00
implementation "androidx.exifinterface:exifinterface:1.3.3"
2022-03-11 15:44:43 +01:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}