nc-photos/np_platform_permission/android/build.gradle

55 lines
1.1 KiB
Groovy
Raw Normal View History

2023-08-31 20:34:48 +02:00
group 'com.nkming.nc_photos.np_platform_permission'
2023-08-26 17:49:28 +02:00
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.8.20'
repositories {
2023-08-31 20:34:48 +02:00
google()
mavenCentral()
2023-08-26 17:49:28 +02:00
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
2023-08-31 20:34:48 +02:00
allprojects {
2023-08-26 17:49:28 +02:00
repositories {
2023-08-31 20:34:48 +02:00
google()
mavenCentral()
2023-08-26 17:49:28 +02:00
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
2023-08-31 20:34:48 +02:00
namespace 'com.nkming.nc_photos.np_platform_permission'
2023-08-26 17:49:28 +02:00
compileSdk 31
defaultConfig {
minSdk 21
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
2023-08-31 20:34:48 +02:00
implementation "androidx.annotation:annotation:1.6.0"
implementation "androidx.core:core-ktx:1.10.1"
implementation 'com.nkming.nc_photos.np_android_core:np_android_core'
2023-08-26 17:49:28 +02:00
}