1
1
mirror of https://github.com/Pygmalion69/OpenTopoMapViewer.git synced 2025-10-05 15:52:55 +02:00
Files
OpenTopoMapViewer/build.gradle
2025-09-26 11:49:37 +02:00

39 lines
1.0 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.13.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
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")
}
}
maven { url = uri("https://jitpack.io") }
}
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
tasks.register('clean', Delete) {
delete rootProject.layout.buildDirectory
}