mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move Android and ML build artefacts to their own subdirectory
Works around #20380.
This commit is contained in:
parent
524bd722ef
commit
496a62860e
10 changed files with 51 additions and 47 deletions
|
@ -14,7 +14,7 @@ allprojects {
|
|||
repositories {
|
||||
jcenter()
|
||||
flatDir {
|
||||
dirs rootDir.absolutePath + "/../../../target/android_aar"
|
||||
dirs rootDir.absolutePath + "/../../../target/android/aar"
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ allprojects {
|
|||
// Utility methods
|
||||
String getTargetDir(boolean debug, String arch) {
|
||||
def basePath = project.rootDir.getParentFile().getParentFile().getParentFile().absolutePath
|
||||
return basePath + '/target/' + getSubTargetDir(debug, arch)
|
||||
return basePath + '/target/android/' + getSubTargetDir(debug, arch)
|
||||
}
|
||||
|
||||
String getSubTargetDir(boolean debug, String arch) {
|
||||
|
|
|
@ -7,7 +7,7 @@ android {
|
|||
compileSdkVersion 27
|
||||
buildToolsVersion '27.0.3'
|
||||
|
||||
buildDir = rootDir.absolutePath + "/../../../target/gradle/servoapp"
|
||||
buildDir = rootDir.absolutePath + "/../../../target/android/gradle/servoapp"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "org.mozilla.servo"
|
||||
|
|
|
@ -8,7 +8,7 @@ android {
|
|||
compileSdkVersion 27
|
||||
buildToolsVersion '27.0.3'
|
||||
|
||||
buildDir = rootDir.absolutePath + "/../../../target/gradle/servoview"
|
||||
buildDir = rootDir.absolutePath + "/../../../target/android/gradle/servoview"
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 18
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue