mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-12 10:10:30 +03:00
scanner: support libs.versions.toml
This commit is contained in:
parent
528760acc8
commit
eff0ef48f4
17 changed files with 723 additions and 35 deletions
47
tests/source-files/org.piepmeyer.gauguin/build.gradle.kts
Normal file
47
tests/source-files/org.piepmeyer.gauguin/build.gradle.kts
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
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")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue