mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
13 lines
386 B
Groovy
13 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')
|
|
}
|