31 lines
500 B
Groovy
31 lines
500 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group 'fr.amu.puit'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
mainClassName = 'fr.packageviewer.Main'
|
|
|
|
jar{
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': mainClassName
|
|
)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.json:json:20220924'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |