mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
55 lines
1 KiB
Groovy
55 lines
1 KiB
Groovy
|
group 'com.nkming.nc_photos.np_android_log'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
buildscript {
|
||
|
ext.kotlin_version = '1.8.20'
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
gradlePluginPortal()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:7.4.2'
|
||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
rootProject.allprojects {
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
|
||
|
android {
|
||
|
namespace 'com.nkming.nc_photos.np_android_log'
|
||
|
compileSdk 31
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk 21
|
||
|
|
||
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '1.8'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
}
|