The API backend for https://git.mosad.xyz/Seil0/ProjectLaogai
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
plugins { |
|
id 'org.jetbrains.kotlin.jvm' version '1.6.20' |
|
id 'org.jetbrains.kotlin.plugin.spring' version '1.6.20' |
|
id 'org.springframework.boot' version '2.6.6' |
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE' |
|
} |
|
|
|
group 'org.mosad' |
|
version '1.3.1' |
|
|
|
repositories { |
|
mavenCentral() |
|
} |
|
|
|
dependencies { |
|
implementation 'org.springframework.boot:spring-boot-starter-web' |
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib' |
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1' |
|
implementation 'org.jsoup:jsoup:1.14.3' |
|
implementation 'com.google.code.gson:gson:2.9.0' |
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' |
|
} |
|
|
|
test { |
|
useJUnitPlatform() |
|
|
|
testLogging { |
|
events 'PASSED', 'FAILED', 'SKIPPED' |
|
} |
|
} |
|
|
|
def jvmTargetVersion = "11" |
|
compileKotlin { |
|
kotlinOptions.jvmTarget = jvmTargetVersion |
|
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn" |
|
} |
|
compileJava { |
|
targetCompatibility = jvmTargetVersion |
|
} |
|
compileTestKotlin { |
|
kotlinOptions.jvmTarget = jvmTargetVersion |
|
} |
|
compileTestJava { |
|
targetCompatibility = jvmTargetVersion |
|
}
|
|
|