plugins { id 'com.github.johnrengelman.shadow' version '7.1.2' id 'java' id 'application' } apply plugin : "java" ext { javaMainClass = "com.calebfontenot.Main" } 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 = javaMainClass } jar { manifest { attributes( 'Main-Class': 'com.calebfontenot.Main' ) } }