2009scape-map-viewer/build.gradle
2021-11-07 17:25:51 -06:00

57 lines
No EOL
1.2 KiB
Groovy

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.5.31'
id 'java'
id 'application'
}
group 'org.praesecho'
version '0.3'
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
repositories {
mavenCentral()
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
// Flatlaf
implementation 'com.formdev:flatlaf:1.6.1'
// https://mvnrepository.com/artifact/com.displee/disio
implementation group: 'com.displee', name: 'disio', version: '2.2'
// https://mvnrepository.com/artifact/com.displee/rs-cache-library
implementation group: 'com.displee', name: 'rs-cache-library', version: '6.8.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation files("libs/json-simple-1.1.1.jar")
}
test {
useJUnitPlatform()
}
jar {
duplicatesStrategy = 'exclude'
manifest {
attributes 'Main-Class': 'Rs2MapEditor'
}
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
mainClassName = "Rs2MapEditor"