xpipe-mirror/gradle/gradle_scripts/prettytime.gradle
2023-09-27 00:47:51 +00:00

22 lines
768 B
Groovy

dependencies {
implementation files("${project.layout.buildDirectory.get()}/generated-modules/prettytime-5.0.2.Final.jar")
}
addDependenciesModuleInfo {
overwriteExistingFiles = true
jdepsExtraArgs = ['-q']
outputDirectory = file("${project.layout.buildDirectory.get()}/generated-modules")
modules {
module {
artifact 'org.ocpsoft.prettytime:prettytime:5.0.2.Final'
moduleInfoSource = '''
module org.ocpsoft.prettytime {
exports org.ocpsoft.prettytime;
exports org.ocpsoft.prettytime.format;
exports org.ocpsoft.prettytime.i18n;
exports org.ocpsoft.prettytime.units;
}
'''
}
}
}