mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 15:40:23 +00:00
30 lines
No EOL
1.1 KiB
Groovy
30 lines
No EOL
1.1 KiB
Groovy
dependencies {
|
|
implementation files("${project.layout.buildDirectory.get()}/generated-modules/github-api-1.301.jar")
|
|
}
|
|
|
|
addDependenciesModuleInfo {
|
|
overwriteExistingFiles = true
|
|
jdepsExtraArgs = ['-q']
|
|
outputDirectory = file("${project.layout.buildDirectory.get()}/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;
|
|
}
|
|
'''
|
|
}
|
|
}
|
|
} |