42 lines
1009 B
Groovy
42 lines
1009 B
Groovy
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.31'
|
|
ext.spring_boot_version = '2.1.5.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'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1"
|
|
implementation 'org.jsoup:jsoup:1.12.1'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
group 'org.mosad'
|
|
version '1.1.3'
|