apply plugin: 'java' apply plugin: 'application' version = "1.0.0" java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } application { mainClass = "inventory.Main" } jar { archiveBaseName = 'simple-inventory' manifest { attributes( 'Main-Class': application.mainClass ) } } repositories { mavenCentral() } dependencies { testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}" testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}" } test { useJUnitPlatform() }