All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.neenbedankt.gradle.androidapt.AptArguments.groovy Maven / Gradle / Ivy

Go to download

A Gradle plugin that ensures Android Studio will pick up generated source from annotation processors and provides an apt configuration for excluding annotation processors from runtime dependencies.

There is a newer version: 1.8
Show newest version
package com.neenbedankt.gradle.androidapt

class AptArguments {
    def arguments = []
    def project
    def variant
    def android

    def methodMissing(String name, args) {
        if (args.length == 0) {
            arguments << "-A${name}"
        } else {
            arguments << "-A${name}=${args.join(" ")}"
        }
    }

    def propertyMissing(String name) {
        project[name]
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy