mirror of
https://github.com/servo/servo.git
synced 2025-07-19 13:23:46 +01:00
12 lines
386 B
Groovy
12 lines
386 B
Groovy
configurations.maybeCreate("default")
|
|
|
|
if (gradle.hasProperty('servoViewLocal')) {
|
|
def aar = new File(gradle.servoViewLocal)
|
|
if (aar.exists()) {
|
|
artifacts.add('default', aar)
|
|
} else {
|
|
throw new GradleException('Failed to find ServoView AAR at: ' + gradle.servoViewLocal)
|
|
}
|
|
} else {
|
|
throw new GradleException('Local ServoView AAR path not defined')
|
|
}
|