Minecraft-Updater-Java/build.gradle
2022-11-29 19:06:58 -06:00

37 lines
685 B
Groovy

plugins {
id 'java'
id 'application'
}
group 'com.calebfontenot'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
configurations {
implementation
}
dependencies {
// https://mvnrepository.com/artifact/org.json/json
implementation 'org.json:json:20220924'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
}
test {
useJUnitPlatform()
}
application {
mainClassName = project.hasProperty("mainClass") ? project.getProperty("mainClass") : "NULL"
}
jar {
manifest {
attributes(
'Main-Class': 'com.calebfontenot.Main'
)
}
}