2018-08-20 11:56:55 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-09-28 17:51:29 +02:00
|
|
|
mavenCentral()
|
2018-08-20 11:56:55 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2025-09-07 11:21:57 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:8.13.0'
|
2025-05-29 10:59:27 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
|
2018-08-20 11:56:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2025-09-26 11:49:37 +02:00
|
|
|
maven { url = uri("https://jitpack.io") }
|
2025-08-31 16:28:11 +02:00
|
|
|
maven {
|
|
|
|
url = uri("https://maven.pkg.github.com/Pygmalion69/ors-android-client")
|
|
|
|
credentials {
|
|
|
|
username = System.getenv("GPR_USER") ?: findProperty("gpr.user")
|
|
|
|
password = System.getenv("GPR_TOKEN") ?: findProperty("gpr.token")
|
|
|
|
}
|
|
|
|
}
|
2025-09-07 13:25:16 +02:00
|
|
|
maven { url = uri("https://jitpack.io") }
|
2018-08-20 11:56:55 +02:00
|
|
|
}
|
2024-06-14 16:25:25 +02:00
|
|
|
tasks.withType(JavaCompile).tap {
|
|
|
|
configureEach {
|
|
|
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
|
|
}
|
2020-02-14 17:29:37 +01:00
|
|
|
}
|
2018-08-20 11:56:55 +02:00
|
|
|
}
|
|
|
|
|
2024-06-14 16:25:25 +02:00
|
|
|
tasks.register('clean', Delete) {
|
2024-06-28 14:54:52 +02:00
|
|
|
delete rootProject.layout.buildDirectory
|
2018-08-20 11:56:55 +02:00
|
|
|
}
|