Class AndroidLibTarget
- 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
-
- Direct Known Subclasses:
AndroidAppTarget
public class AndroidLibTarget extends AndroidTarget
An Android library 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 AndroidLibTarget(org.gradle.api.Project project, java.lang.String name)AndroidLibTarget(org.gradle.api.Project project, java.lang.String name, boolean isTest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.android.build.gradle.api.BaseVariantgetBaseVariant()java.lang.StringgetConsumerProguardConfig()AndroidLibInstrumentationTargetgetLibInstrumentationTarget()booleanshouldGenerateBuildConfig()-
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, getPackage, 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
getApiExternalDeps, getApiTargetDeps, 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()
- Specified by:
getBaseVariantin classAndroidTarget
-
shouldGenerateBuildConfig
public boolean shouldGenerateBuildConfig()
-
getConsumerProguardConfig
@Nullable public java.lang.String getConsumerProguardConfig()
-
getLibInstrumentationTarget
@Nullable public final AndroidLibInstrumentationTarget getLibInstrumentationTarget()
-
-