1234567891011121314151617181920212223242526272829 |
- plugins {
- id 'java'
- }
- group 'org.example'
- version '1.0-SNAPSHOT'
- sourceCompatibility = 17
- repositories {
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
- }
- 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'
- }
- jar {
- archiveName = 'app.jar'
- from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
- into('assets') {
- from 'assets'
- }
- }
- test {
- useJUnitPlatform()
- }
|