2020-08-14 18:07:27 +08:00
|
|
|
group 'com.morbit.photogallery'
|
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
buildscript {
|
2023-05-02 23:05:24 +08:00
|
|
|
ext.kotlin_version = '1.7.10'
|
2020-08-14 18:07:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
2023-05-03 02:28:08 +08:00
|
|
|
mavenCentral()
|
2020-08-14 18:07:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-05-05 23:10:26 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
2020-08-14 18:07:27 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2023-05-03 02:28:08 +08:00
|
|
|
mavenCentral()
|
2020-08-14 18:07:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable 'InvalidPackage'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2023-05-05 23:06:47 +08:00
|
|
|
}
|