27 lines
501 B
Groovy
27 lines
501 B
Groovy
|
plugins {
|
||
|
id 'java-library'
|
||
|
}
|
||
|
|
||
|
sourceCompatibility = 11
|
||
|
targetCompatibility = 11
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation project(':app:cli-ac')
|
||
|
implementation project(':lib:ac-api')
|
||
|
compileOnly "org.apache.ant:ant:$antVersion"
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
archiveBaseName = 'AppleCommander'
|
||
|
archiveAppendix = 'ant'
|
||
|
|
||
|
dependsOn configurations.runtimeClasspath
|
||
|
from {
|
||
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||
|
}
|
||
|
}
|