2020-08-14 18:07:27 +08:00
|
|
|
group 'com.morbit.photogallery'
|
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
buildscript {
|
2025-04-29 14:10:22 -03:00
|
|
|
ext.kotlin_version = '1.9.0'
|
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 {
|
2024-08-29 12:35:57 +01:00
|
|
|
namespace 'com.morbit.photogallery'
|
|
|
|
|
2023-05-09 21:08:53 +08:00
|
|
|
compileSdkVersion 33
|
2020-08-14 18:07:27 +08:00
|
|
|
|
2023-05-14 03:35:10 +08:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
|
|
|
|
2020-08-14 18:07:27 +08:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
2023-05-14 03:35:10 +08:00
|
|
|
|
2020-08-14 18:07:27 +08:00
|
|
|
defaultConfig {
|
2025-04-29 14:10:22 -03:00
|
|
|
minSdkVersion 21
|
2020-08-14 18:07:27 +08:00
|
|
|
}
|
2023-05-14 03:35:10 +08:00
|
|
|
|
2020-08-14 18:07:27 +08:00
|
|
|
lintOptions {
|
|
|
|
disable 'InvalidPackage'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2024-08-29 12:35:57 +01:00
|
|
|
}
|