twigs/build.gradle.kts

36 lines
730 B
Text
Raw Normal View History

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2021-07-29 00:49:48 +00:00
import java.net.URI
buildscript {
2021-07-06 01:05:25 +00:00
val kotlinVersion: String by extra("1.5.20")
2021-07-29 00:49:48 +00:00
val ktorVersion: String by extra("1.6.1")
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
plugins {
java
2021-07-29 00:49:48 +00:00
kotlin("jvm") version "1.5.20"
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven {
2021-07-06 01:05:25 +00:00
url = URI("https://repo.maven.apache.org/maven2")
}
}
group = "com.wbrawner"
version = "0.0.1-SNAPSHOT"
tasks.withType<KotlinCompile> {
2021-08-12 21:22:06 +00:00
kotlinOptions.jvmTarget = "16"
}
}