mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-08-15 10:02:14 +12:00
30 lines
1 KiB
Groovy
30 lines
1 KiB
Groovy
|
dependencies {
|
||
|
implementation files("$buildDir/generated-modules/github-api-1.301.jar")
|
||
|
}
|
||
|
|
||
|
addDependenciesModuleInfo {
|
||
|
overwriteExistingFiles = true
|
||
|
jdepsExtraArgs = ['-q']
|
||
|
outputDirectory = file("$buildDir/generated-modules")
|
||
|
modules {
|
||
|
module {
|
||
|
artifact 'org.kohsuke:github-api:1.301'
|
||
|
moduleInfoSource = '''
|
||
|
module org.kohsuke.github {
|
||
|
exports org.kohsuke.github;
|
||
|
exports org.kohsuke.github.function;
|
||
|
exports org.kohsuke.github.authorization;
|
||
|
exports org.kohsuke.github.extras;
|
||
|
exports org.kohsuke.github.connector;
|
||
|
|
||
|
requires java.logging;
|
||
|
requires org.apache.commons.io;
|
||
|
requires org.apache.commons.lang3;
|
||
|
requires com.fasterxml.jackson.databind;
|
||
|
|
||
|
opens org.kohsuke.github;
|
||
|
}
|
||
|
'''
|
||
|
}
|
||
|
}
|
||
|
}
|