2022-11-29 19:06:58 -06:00
|
|
|
plugins {
|
2022-11-30 00:06:57 -06:00
|
|
|
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
2022-11-29 19:06:58 -06:00
|
|
|
id 'java'
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
2022-11-29 20:00:17 -06:00
|
|
|
apply plugin : "java"
|
|
|
|
ext {
|
|
|
|
javaMainClass = "com.calebfontenot.Main"
|
|
|
|
}
|
|
|
|
|
2022-11-29 19:06:58 -06:00
|
|
|
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 {
|
2022-11-29 20:00:17 -06:00
|
|
|
mainClassName = javaMainClass
|
2022-11-29 19:06:58 -06:00
|
|
|
}
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes(
|
|
|
|
'Main-Class': 'com.calebfontenot.Main'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|