Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rootProject.name = 'testA'
- group = 'org.test'
- version = '0.0.0.1_test'
- task someZip (type: Zip) {
- from './settings.gradle'
- archiveName = 'xxx.zip'
- destinationDir = file("${buildDir}/test")
- }
- artifacts {
- //TODO add something here?
- }
- rootProject.name = 'testB'
- if (System.getenv('LOCAL_COMPILATION') == 'true') {
- includeBuild '../testA'
- }
- if (System.getenv('LOCAL_COMPILATION') != 'true') {
- repositories {
- maven { url '192.168.1.100' }
- }
- }
- configurations {
- magic
- }
- dependencies {
- magic 'org.test:xxx:0.0.0.+@zip'
- }
- task ultimateZip (type: Zip) {
- from configurations.magic
- archiveName = 'ultimate.zip'
- destinationDir = file("${buildDir}/ultimate-test")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement