Add InventoryManagementSystem app
This commit is contained in:
36
InventoryManagementSystem/build.gradle
Normal file
36
InventoryManagementSystem/build.gradle
Normal file
@@ -0,0 +1,36 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user