35 lines
712 B
Groovy
35 lines
712 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group 'me.trouper'
|
|
version '0.0.5'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://nexus.stirante.com/repository/maven-snapshots/'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'net.objecthunter:exp4j:0.4.8'
|
|
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'me.trouper.Countroll'
|
|
}
|
|
from {
|
|
configurations.runtimeClasspath.collect {
|
|
it.isDirectory() ? it : zipTree(it)
|
|
}
|
|
}
|
|
} |