twigs/build.gradle.kts

42 lines
818 B
Text
Raw Normal View History

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.net.URI
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61")
}
}
plugins {
java
kotlin("jvm") version "1.3.61"
id("org.springframework.boot") version "2.2.4.RELEASE"
}
apply(plugin = "io.spring.dependency-management")
2020-05-14 02:24:51 +00:00
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven {
url = URI("http://repo.maven.apache.org/maven2")
}
}
2020-05-14 02:24:51 +00:00
group = "com.wbrawner"
version = "0.0.1-SNAPSHOT"
2020-05-14 02:24:51 +00:00
sourceSets.getByName("main") {
java.srcDir("src/main/kotlin")
}
2020-05-14 02:24:51 +00:00
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "14"
}
}