also add minecraft and its libraries to test classpaths
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s
This commit is contained in:
parent
7940f20a13
commit
2d4cf1f035
|
@ -145,6 +145,8 @@ class PhytotelmaPlugin : Plugin<Project> {
|
||||||
project.configurations.register(Constants.MINECRAFT_CONFIGURATION) {
|
project.configurations.register(Constants.MINECRAFT_CONFIGURATION) {
|
||||||
project.configurations.getByName(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME).extendsFrom(it)
|
project.configurations.getByName(JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME).extendsFrom(it)
|
||||||
project.configurations.getByName(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME).extendsFrom(it)
|
project.configurations.getByName(JavaPlugin.COMPILE_CLASSPATH_CONFIGURATION_NAME).extendsFrom(it)
|
||||||
|
project.configurations.getByName(JavaPlugin.TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME).extendsFrom(it)
|
||||||
|
project.configurations.getByName(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME).extendsFrom(it)
|
||||||
it.isCanBeResolved = false
|
it.isCanBeResolved = false
|
||||||
it.isCanBeConsumed = false
|
it.isCanBeConsumed = false
|
||||||
it.isTransitive = false
|
it.isTransitive = false
|
||||||
|
|
Loading…
Reference in a new issue