ultrasonic-app-subsonic-and.../build.gradle

53 lines
1.3 KiB
Groovy
Raw Normal View History

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2021-12-20 22:15:07 +01:00
apply from: 'gradle/versions.gradle'
ext.bootstrap = [
kotlinModule : "${project.rootDir}/gradle_scripts/kotlin-module-bootstrap.gradle",
androidModule : "${project.rootDir}/gradle_scripts/android-module-bootstrap.gradle"
]
repositories {
google()
2021-05-08 22:20:22 +02:00
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath libs.gradle
classpath libs.kotlin
classpath libs.ktlintGradle
classpath libs.detekt
classpath libs.jacoco
}
}
allprojects {
// Buildscript here is required by detekt
buildscript {
repositories {
2021-05-08 22:20:22 +02:00
mavenCentral()
google()
}
}
repositories {
2021-05-08 22:20:22 +02:00
mavenCentral()
google()
maven { url 'https://jitpack.io' }
}
2021-05-24 12:04:18 +02:00
// Set Kotlin JVM target to the same for all subprojects
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
apply from: 'gradle_scripts/jacoco.gradle'
2020-04-26 08:37:24 +02:00
wrapper {
gradleVersion(libs.versions.gradle.get())
distributionType("all")
}