
com.neenbedankt.gradle.androidapt.AndroidAptExtension.groovy Maven / Gradle / Ivy
package com.neenbedankt.gradle.androidapt
class AndroidAptExtension {
final def aptArguments = new AptArguments()
private def argsClosure;
def arguments(Closure closure) {
closure.resolveStrategy = Closure.DELEGATE_FIRST
closure.delegate = aptArguments;
argsClosure = closure;
}
def arguments() {
aptArguments.arguments.clear();
if (argsClosure) {
argsClosure()
}
return aptArguments.arguments
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy