Bumped bld to version 2.1.0 Bumped Gradle to version 8.10.1 Bumped Kotlin to version 2.0.20 Bumped JUnit to version 5.11.0
31 lines
654 B
Kotlin
31 lines
654 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("application")
|
|
id("com.github.ben-manes.versions") version "0.51.0"
|
|
kotlin("jvm") version "2.0.20"
|
|
}
|
|
|
|
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("net.thauvin.erik:pinboard-poster:1.1.1")
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
application {
|
|
mainClass.set("net.thauvin.erik.pinboard.samples.KotlinExampleKt")
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions.jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)
|
|
}
|