mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-05 20:44:52 +13:00
43 lines
1.6 KiB
Groovy
43 lines
1.6 KiB
Groovy
configurations {
|
|
dep
|
|
}
|
|
|
|
dependencies {
|
|
dep files("${project.layout.buildDirectory.get()}/generated-modules/commons-lang3-3.12.0.jar")
|
|
dep files("${project.layout.buildDirectory.get()}/generated-modules/commons-io-2.11.0.jar")
|
|
}
|
|
|
|
addDependenciesModuleInfo {
|
|
overwriteExistingFiles = true
|
|
jdepsExtraArgs = ['-q']
|
|
outputDirectory = file("${project.layout.buildDirectory.get()}/generated-modules")
|
|
modules {
|
|
module {
|
|
artifact 'org.apache.commons:commons-lang3:3.12.0'
|
|
moduleInfoSource = '''
|
|
module org.apache.commons.lang3 {
|
|
exports org.apache.commons.lang3;
|
|
exports org.apache.commons.lang3.function;
|
|
exports org.apache.commons.lang3.arch;
|
|
exports org.apache.commons.lang3.reflect;
|
|
exports org.apache.commons.lang3.builder;
|
|
exports org.apache.commons.lang3.text;
|
|
exports org.apache.commons.lang3.tuple;
|
|
exports org.apache.commons.lang3.math;
|
|
}
|
|
'''
|
|
}
|
|
module {
|
|
artifact 'commons-io:commons-io:2.11.0'
|
|
moduleInfoSource = '''
|
|
module org.apache.commons.io {
|
|
exports org.apache.commons.io;
|
|
exports org.apache.commons.io.file;
|
|
exports org.apache.commons.io.input;
|
|
exports org.apache.commons.io.filefilter;
|
|
exports org.apache.commons.io.output;
|
|
}
|
|
'''
|
|
}
|
|
}
|
|
}
|