device_identity/android/build.gradle

54 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2023-05-10 16:07:15 +08:00
group 'net.niuxiaoer.device_identity'
version '1.0-SNAPSHOT'
buildscript {
2024-08-22 12:03:33 +08:00
ext.kotlin_version = '1.5.20'
2023-05-10 16:07:15 +08:00
repositories {
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
2024-08-22 12:03:33 +08:00
compileSdkVersion 31
2023-05-10 16:07:15 +08:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.github.gzu-liyujiang:Android_CN_OAID:4.2.4'
}