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

cn.hx.plugin.junkcode.ext.JunkCodeConfig.groovy Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package cn.hx.plugin.junkcode.ext

import com.squareup.javapoet.MethodSpec
import com.squareup.javapoet.TypeSpec
import org.gradle.api.Action
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Internal

class JunkCodeConfig {
    @Input
    String packageBase = ""
    @Input
    int packageCount = 0
    @Input
    int activityCountPerPackage = 0
    @Input
    boolean excludeActivityJavaFile = false
    @Input
    int otherCountPerPackage = 0
    @Input
    int methodCountPerClass = 0
    @Input
    String resPrefix = "junk_"
    @Input
    int drawableCount = 0
    @Input
    int stringCount = 0

    @Internal
    Action typeGenerator = null

    @Internal
    Action methodGenerator = null

    @Deprecated
    @Internal
    Action layoutGenerator = null

    @Deprecated
    @Internal
    Action drawableGenerator = null

    @Internal
    Action> packageCreator = null

    @Internal
    Action> activityCreator = null

    @Internal
    Action> classNameCreator = null

    @Internal
    Action> methodNameCreator = null

    @Internal
    Action> drawableCreator = null

    @Internal
    Action> stringCreator = null

    @Internal
    Action> keepCreator = null

    @Internal
    Action javaGenerator = null

    @Internal
    Action resGenerator = null

    @Internal
    Action manifestGenerator = null

    @Internal
    String name = ""

    JunkCodeConfig(String name) {
        this.name = name
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy