mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-15 03:20:10 +01:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
import java.net.URI
|
|
|
|
buildscript {
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:8.6.0")
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.android.library) apply false
|
|
alias(libs.plugins.kotlin.android) apply false
|
|
alias(libs.plugins.kotlin.jvm) apply false
|
|
alias(libs.plugins.sonarqube)
|
|
alias(libs.plugins.ktlint)
|
|
alias(libs.plugins.ksp)
|
|
alias(libs.plugins.roborazzi) apply false
|
|
alias(libs.plugins.gms) apply false
|
|
}
|
|
|
|
sonarqube {
|
|
properties {
|
|
property("sonar.projectKey", "org.piepmeyer.gauguin")
|
|
property("sonar.organization", "meikpiep")
|
|
property("sonar.verbose", "true")
|
|
property("sonar.host.url", "https://sonarcloud.io")
|
|
}
|
|
}
|
|
|
|
tasks.sonar {
|
|
onlyIf("There is no property 'buildserver'") {
|
|
project.hasProperty("buildserver")
|
|
}
|
|
dependsOn(":gauguin-app:lint")
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven { url = URI("https://jitpack.io") }
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
apply(plugin = "org.jlleitschuh.gradle.ktlint")
|
|
}
|