Class AndroidSourcesJarPlugin
- java.lang.Object
-
- io.freefair.gradle.plugins.android.AndroidProjectPlugin
-
- io.freefair.gradle.plugins.android.maven.AndroidSourcesJarPlugin
-
public class AndroidSourcesJarPlugin extends AndroidProjectPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
AndroidProjectPlugin.ProjectType
-
-
Constructor Summary
Constructors Constructor Description AndroidSourcesJarPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Project project)
Map<String,TaskProvider<Jar>>
getVariantSourcesJarTasks()
protected void
withAndroid(com.android.build.gradle.TestedExtension extension)
-
Methods inherited from class io.freefair.gradle.plugins.android.AndroidProjectPlugin
getAllJava, getAndroidExtension, getAndroidVariants, getCompileClasspath, getOutput, getProject, getProjectType, getTaskName, getTestVariants, getUnitTestVariants, publishVariant
-
-
-
-
Method Detail
-
apply
public void apply(Project project)
- Specified by:
apply
in interfacePlugin<Project>
- Overrides:
apply
in classAndroidProjectPlugin
-
withAndroid
protected void withAndroid(com.android.build.gradle.TestedExtension extension)
- Overrides:
withAndroid
in classAndroidProjectPlugin
-
getVariantSourcesJarTasks
public Map<String,TaskProvider<Jar>> getVariantSourcesJarTasks()
-
-