@Input public InjectParam getInput() { if (null != injectParam) { return injectParam; } try { injectParam = AtlasBuildContext.sBuilderAdapter.apkInjectInfoCreator.creteInjectParam(appVariantContext); } catch (Exception e) { e.printStackTrace(); } return injectParam; }
/** * The environment variable to use to provide additional options to the JVM. */ @Input @Optional public String getOptsEnvironmentVar() { if (GUtil.isTrue(optsEnvironmentVar)) { return optsEnvironmentVar; } if (!GUtil.isTrue(getApplicationName())) { return null; } return GUtil.toConstant(getApplicationName()) + "_OPTS"; }
/** * informs whether to use experimental incremental compilation feature. See {@link #setIncremental(boolean)} */ @Input @Incubating public boolean isIncremental() { return incremental; }
/** * Encoding of source files. */ @Input @Optional public String getEncoding() { return encoding; }
@Input public File getMergeBlameLogFolder() { return mergeBlameLogFolder; }
@Input @Optional protected String getBundleVersion() { return awbBundle.getResolvedCoordinates().getVersion(); }
/** * Specifies whether this task should fail when errors are encountered during Javadoc generation. When {@code true}, * this task will fail on Javadoc error. When {@code false}, this task will ignore Javadoc errors. */ @Input public boolean isFailOnError() { return failOnError; }
@Input public boolean getEnforceUniquePackageName() { return enforceUniquePackageName; }
@Override @Input String getName();
@Input @Optional public String getCustomPackageId() { return customPackageId; }
@Input public String getGroup() { return group; }
@Input public String getDescription() { return description; }
/** * Whether or not to allow the build to continue if there are warnings. */ @Input @Override public boolean getIgnoreFailures() { return ignoreFailures; }
@Input public String getNamespace() { return namespace; }
/** * Whether a reverse router should be generated. Default is true. */ @Input public boolean isGenerateReverseRoutes() { return generateReverseRoutes; }
@Input public String getAwbBundleName() { return awbBundleName; }
/** * The bug detectors which should be run. The bug detectors are specified by their class names, without any package qualification. By default, all detectors which are not disabled by default are * run. */ @Input @Optional public Collection<String> getVisitors() { return visitors; }
@Input public List<String> getElideMeta() { return elideMeta; }
@Input @Optional @Nullable public String getPackageForR() { return packageForR; }
@Input public List<Class<? extends Plugin>> getPluginClasses() { return pluginClasses; }
/** * Fail the build on compilation errors. */ @Input public boolean isFailOnError() { return failOnError; }
@Input String getBuildToolsVersion() { return getBuildTools().getRevision().toString(); }
/** * Whether or not the build should break when the verifications performed by this task fail. * */ @Input public boolean getIgnoreFailures() { return ignoreFailures; }
@Input @Optional @Nullable public Collection<String> getSplits() { return splits; }
@Input public Map<String, String> getVariables() { return this.variables; }
@Input public String getGradleExe() { return gradleExe; }
@Input private String getAccessToken() { return accessToken.get(); }
@Input public Boolean getMultiDexEnabled() { return multiDexEnabled; }
/** * Specifies that all rules call {@code traceIn}/{@code traceOut}. */ @Input public boolean isTrace() { return trace; }
@Input public String getPath() { return path; }
/** * Specifies that all parser rules call {@code traceIn}/{@code traceOut}. */ @Input public boolean isTraceParser() { return traceParser; }
/** * Tells whether to fail the build when compilation fails. Defaults to {@code true}. */ @Input public boolean isFailOnError() { return failOnError; }
/** * The maximum heap size for the forked antlr process (ex: '1g'). */ @Optional @Input public String getMaxHeapSize() { return maxHeapSize; }
@Input @Optional String getHeader();
/** * The name of the library directory in the EAR file. Default is "lib". */ @Optional @Input public String getLibDirName() { return libDirName; }
/** * Run optimizations. */ @Input public boolean isOptimize() { return optimize; }
/** * Macros that should be defined for the compiler. */ @Input public Map<String, String> getMacros() { return macros; }
@Input public String getName() { return name; }