Class AndroidAppTarget
- java.lang.Object
-
- com.uber.okbuck.core.model.base.Target
-
- com.uber.okbuck.core.model.jvm.JvmTarget
-
- com.uber.okbuck.core.model.android.AndroidTarget
-
- com.uber.okbuck.core.model.android.AndroidLibTarget
-
- com.uber.okbuck.core.model.android.AndroidAppTarget
-
- Direct Known Subclasses:
AndroidInstrumentationTarget
public class AndroidAppTarget extends AndroidLibTarget
An Android app target
-
-
Field Summary
-
Fields inherited from class com.uber.okbuck.core.model.jvm.JvmTarget
isKotlin, JAVA_COMPILER_EXTRA_ARGUMENTS, KOTLIN_COMPILER_EXTRA_ARGUMENTS, KOTLIN_COMPILER_PLUGINS, MAIN
-
-
Constructor Summary
Constructors Constructor Description AndroidAppTarget(org.gradle.api.Project project, java.lang.String name)AndroidAppTarget(org.gradle.api.Project project, java.lang.String name, boolean isTest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<OExternalDependency>getApiExternalDeps()api external depsjava.util.Set<Target>getApiTargetDeps()api target depsAndroidAppInstrumentationTargetgetAppInstrumentationTarget()protected com.android.build.gradle.api.BaseVariantgetBaseVariant()java.util.Set<java.lang.String>getCpuFilters()ExoPackageScopegetExopackage()booleangetIncludesVectorDrawables()KeystoregetKeystore()intgetLinearAllocHardLimit()booleangetMinifyEnabled()booleangetMultidexEnabled()java.lang.StringgetPackage()java.util.Map<java.lang.String,java.lang.Object>getPlaceholders()java.util.List<java.lang.String>getPrimaryDexPatterns()java.lang.StringgetProguardConfig()java.lang.StringgetProguardMapping()java.util.List<java.util.Map<java.lang.String,java.lang.String>>getTransforms()booleanshouldGenerateBuildConfig()-
Methods inherited from class com.uber.okbuck.core.model.android.AndroidLibTarget
getConsumerProguardConfig, getLibInstrumentationTarget
-
Methods inherited from class com.uber.okbuck.core.model.android.AndroidTarget
getAidl, getAndroidExtension, getApplicationIdWithSuffix, getApt, getAptScopes, getAssetDirs, getBuildConfigFields, getDebuggable, getGenerateR2, getIsTest, getJavaResources, getJniLibs, getKotlinCompilerOptions, getKotlinCompilerPlugins, getLintEnabled, getLintOptions, getMain, getMainManifest, getMinSdk, getProjectResDir, getProp, getProvided, getResDirs, getResPackage, getRobolectricEnabled, getRuleType, getSecondaryManifests, getSourceCompatibility, getSources, getTargetCompatibility, getTargetSdk, getTest, getTestApt, getTestAptScopes, getTestOptions, getTestProvided, getTestRuleType, getVersionCode, getVersionName, isKotlin
-
Methods inherited from class com.uber.okbuck.core.model.jvm.JvmTarget
getApPlugins, getAptScopeForConfiguration, getAptScopeForConfiguration, getExcludes, getExternalAarDeps, getExternalAptDeps, getExternalDeps, getExternalExportedAarDeps, getExternalExportedDeps, getExternalProvidedDeps, getIntegrationTest, getIntegrationTestApPlugins, getIntegrationTestApt, getIntegrationTestAptScopes, getIntegrationTestOptions, getIntegrationTestProvided, getKotlinFriendPaths, getLint, getMainClass, getMavenCoords, getTargetAptDeps, getTargetDeps, getTargetExportedDeps, getTargetProvidedDeps, getTestApPlugins, hasApplication, javaVersion
-
Methods inherited from class com.uber.okbuck.core.model.base.Target
getAvailable, getExtraOpts, getIdentifier, getName, getOkbuck, getPath, getProject, getRootProject
-
-
-
-
Method Detail
-
getBaseVariant
protected com.android.build.gradle.api.BaseVariant getBaseVariant()
- Overrides:
getBaseVariantin classAndroidLibTarget
-
getApiExternalDeps
public java.util.Set<OExternalDependency> getApiExternalDeps()
Description copied from class:JvmTargetapi external deps- Overrides:
getApiExternalDepsin classJvmTarget
-
getApiTargetDeps
public java.util.Set<Target> getApiTargetDeps()
Description copied from class:JvmTargetapi target deps- Overrides:
getApiTargetDepsin classJvmTarget
-
shouldGenerateBuildConfig
public boolean shouldGenerateBuildConfig()
- Overrides:
shouldGenerateBuildConfigin classAndroidLibTarget
-
getExopackage
@Nullable public ExoPackageScope getExopackage()
-
getProguardConfig
@Nullable public java.lang.String getProguardConfig()
-
getProguardMapping
@Nullable public java.lang.String getProguardMapping()
-
getTransforms
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getTransforms()
-
getPackage
public java.lang.String getPackage()
- Overrides:
getPackagein classAndroidTarget
-
getMultidexEnabled
public final boolean getMultidexEnabled()
-
getKeystore
@Nullable public final Keystore getKeystore()
-
getCpuFilters
public final java.util.Set<java.lang.String> getCpuFilters()
-
getLinearAllocHardLimit
public final int getLinearAllocHardLimit()
-
getPrimaryDexPatterns
public final java.util.List<java.lang.String> getPrimaryDexPatterns()
-
getMinifyEnabled
public final boolean getMinifyEnabled()
-
getPlaceholders
public final java.util.Map<java.lang.String,java.lang.Object> getPlaceholders()
-
getIncludesVectorDrawables
public final boolean getIncludesVectorDrawables()
-
getAppInstrumentationTarget
@Nullable public final AndroidAppInstrumentationTarget getAppInstrumentationTarget()
-
-