rs09-json-editor/build.gradle
2021-07-16 14:35:49 -05:00

37 lines
885 B
Groovy

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.32'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
repositories {
mavenCentral()
}
}
dependencies {
implementation "org.jetbrains:markdown-jvm:0.2.0"
implementation "com.github.ajalt.mordant:mordant:2.0.0-alpha2"
implementation "com.github.weisj:darklaf-core:2.5.5"
implementation "com.googlecode.json-simple:json-simple:1.1.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib"
}
task buildJar(type: Jar) {
manifest {
attributes(
'Main-Class': 'MainScreenKt'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
{
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
with jar
}