Class AndroidInstrumentationTarget
- 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
-
- com.uber.okbuck.core.model.android.AndroidInstrumentationTarget
-
- Direct Known Subclasses:
AndroidAppInstrumentationTarget,AndroidLibInstrumentationTarget
public abstract class AndroidInstrumentationTarget extends AndroidAppTarget
An abstract Android instrumentation 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 Modifier Constructor Description protectedAndroidInstrumentationTarget(org.gradle.api.Project project, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScopegetApt()Apt Scope Used to get the annotation processor deps of the target.java.util.List<Scope>getAptScopes()Apt ScopesScopegetMain()ScopegetProvided()Provided ScopeScopegetTest()-
Methods inherited from class com.uber.okbuck.core.model.android.AndroidAppTarget
getApiExternalDeps, getApiTargetDeps, getAppInstrumentationTarget, getBaseVariant, getCpuFilters, getExopackage, getIncludesVectorDrawables, getKeystore, getLinearAllocHardLimit, getMinifyEnabled, getMultidexEnabled, getPackage, getPlaceholders, getPrimaryDexPatterns, getProguardConfig, getProguardMapping, getTransforms, shouldGenerateBuildConfig
-
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, getAssetDirs, getBuildConfigFields, getDebuggable, getGenerateR2, getIsTest, getJavaResources, getJniLibs, getKotlinCompilerOptions, getKotlinCompilerPlugins, getLintEnabled, getLintOptions, getMainManifest, getMinSdk, getProjectResDir, getProp, getResDirs, getResPackage, getRobolectricEnabled, getRuleType, getSecondaryManifests, getSourceCompatibility, getSources, getTargetCompatibility, getTargetSdk, 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
-
getAptScopes
public java.util.List<Scope> getAptScopes()
Description copied from class:JvmTargetApt Scopes- Overrides:
getAptScopesin classAndroidTarget
-
getApt
public Scope getApt()
Description copied from class:JvmTargetApt Scope Used to get the annotation processor deps of the target.- Overrides:
getAptin classAndroidTarget
-
getProvided
public Scope getProvided()
Description copied from class:JvmTargetProvided Scope- Overrides:
getProvidedin classAndroidTarget
-
getMain
public Scope getMain()
- Overrides:
getMainin classAndroidTarget
-
getTest
public Scope getTest()
- Overrides:
getTestin classAndroidTarget
-
-