Allow Jars to be addressed by 'group:name' coordinates
Closed this issue · 1 comments
jjohannes commented
For example, I want to write this:
extraJavaModuleInfo {
module("commons-beanutils:commons-beanutils", "org.apache.commons.beanutils") {
exports("org.apache.commons.beanutils")
requires("org.apache.commons.logging")
requires("java.sql")
requires("java.desktop")
}
module("commons-cli:commons-cli", "org.apache.commons.cli") {
exports("org.apache.commons.cli")
}
module("commons-collections:commons-collections", "org.apache.commons.collections")
automaticModule("commons-logging:commons-logging", "org.apache.commons.logging")
}
instead of (current approach):
extraJavaModuleInfo {
module("commons-beanutils-1.9.4.jar", "org.apache.commons.beanutils", "1.9.4") {
exports("org.apache.commons.beanutils")
requires("org.apache.commons.logging")
requires("java.sql")
requires("java.desktop")
}
module("commons-cli-1.4.jar", "org.apache.commons.cli", "3.2.2") {
exports("org.apache.commons.cli")
}
module("commons-collections-3.2.2.jar", "org.apache.commons.collections", "3.2.2")
automaticModule("commons-logging-1.2.jar", "org.apache.commons.logging")
}
This will make the plugin much easier to use.