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.
53 lines
1.2 KiB
53 lines
1.2 KiB
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.60'
|
|
ext.spring_boot_version = '2.1.10.RELEASE'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
|
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
|
|
}
|
|
}
|
|
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'kotlin-spring'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
|
|
testLogging {
|
|
events "PASSED", "FAILED", "SKIPPED"
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2"
|
|
implementation "org.jsoup:jsoup:1.12.1"
|
|
implementation "org.springframework.boot:spring-boot-starter-web"
|
|
implementation "com.google.code.gson:gson:2.8.6"
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.5.1")
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
group 'org.mosad'
|
|
version '1.2.0'
|