|
@@ -8,20 +8,24 @@ sourceCompatibility = 17
|
|
|
|
|
|
repositories {
|
|
|
maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
|
|
|
+ mavenCentral()
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
implementation 'commons-io:commons-io:2.11.0'
|
|
|
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
|
|
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
|
|
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
|
|
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
jar {
|
|
|
manifest {
|
|
|
attributes(
|
|
|
"Manifest-Version": 1.0,
|
|
|
"Main-Class": "org.example.Main")
|
|
|
}
|
|
|
+
|
|
|
archiveFileName = 'app.jar'
|
|
|
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
|
into('assets') {
|