-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (36 loc) · 947 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
plugins {
kotlin("jvm") version "1.6.21" apply false
kotlin("plugin.serialization") version "1.6.21" apply false
id("org.sonarqube") version "3.3"
}
allprojects {
group = "io.github.hider"
version = "0.0.4"
description = "libGDX based tile platformer"
repositories {
mavenCentral()
maven {
url = uri("https://jitpack.io")
}
}
}
subprojects {
tasks {
withType<Test> {
useJUnitPlatform()
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict", "-opt-in=kotlin.RequiresOptIn")
jvmTarget = "11"
}
}
}
}
sonarqube {
properties {
property("sonar.projectKey", "hider_tilegame")
property("sonar.organization", "hider")
property("sonar.host.url", "https://sonarcloud.io")
}
}