Created
February 9, 2018 17:02
-
-
Save sebersole/3daf1055abc9f5ffa94b3f243e014aec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply from: rootProject.file( 'gradle/published-java-module.gradle' ) | |
| configurations { | |
| wildflyModules | |
| } | |
| dependencies { | |
| wildflyModules 'org.hibernate:hibernate-orm-modules:5.3.0-SNAPSHOT:wildfly-11-dist@zip' | |
| compile 'org.hibernate:hibernate-core:5.3.0-SNAPSHOT' | |
| } | |
| task showDepInfo { | |
| println 'MODULES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' | |
| project.configurations.wildflyModules.dependencies.forEach( {Dependency dependency -> | |
| println 'dependency : ' + dependency.name | |
| } ) | |
| println 'Number of files : ' + project.configurations.wildflyModules.resolvedConfiguration.files.size( ) | |
| project.configurations.wildflyModules.resolvedConfiguration.files.forEach({ File file -> | |
| println "wildflyModules dep file : ${file.absolutePath}" | |
| }) | |
| println 'CORE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' | |
| project.configurations.compile.dependencies.forEach( {Dependency dependency -> | |
| println 'CORE dependency : ' + dependency.name | |
| } ) | |
| println 'Number of files : ' + project.configurations.compile.resolvedConfiguration.files.size( ) | |
| project.configurations.compile.resolvedConfiguration.files.forEach({ File file -> | |
| println "CORE dep file : ${file.absolutePath}" | |
| }) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment