Can use external or project dependencies to build test app.
This commit is contained in:
@@ -4,8 +4,17 @@ mainClassName = 'net.rubygrapefruit.platform.test.Main'
|
||||
applicationName = 'native-platform-test'
|
||||
archivesBaseName = 'native-platform-test'
|
||||
|
||||
dependencies {
|
||||
compile project(':')
|
||||
if (project.hasProperty('remote-artifacts')) {
|
||||
repositories {
|
||||
maven { url "$rootProject.buildDir/repo" }
|
||||
}
|
||||
dependencies {
|
||||
compile "net.rubygrapefruit:native-platform:${version}"
|
||||
}
|
||||
} else {
|
||||
dependencies {
|
||||
compile project(':')
|
||||
}
|
||||
}
|
||||
|
||||
configurations.archives.artifacts.clear()
|
||||
|
||||
Reference in New Issue
Block a user