com.jdroid.android.googleplay.publisher.commons.AbstractTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdroid-gradle-googleplay-publisher-plugin Show documentation
Show all versions of jdroid-gradle-googleplay-publisher-plugin Show documentation
Gradle Plugin for Google Play API
package com.jdroid.android.googleplay.publisher.commons;
import com.jdroid.android.googleplay.publisher.GooglePlayPublisherPlugin;
import com.jdroid.android.googleplay.publisher.GooglePlayPublisherPluginExtension;
import org.gradle.api.DefaultTask;
import org.gradle.api.tasks.TaskAction;
public abstract class AbstractTask extends DefaultTask {
protected PropertyResolver propertyResolver;
@TaskAction
public final void doExecute() {
propertyResolver = new PropertyResolver(getProject());
onExecute();
}
protected GooglePlayPublisherPluginExtension getExtension() {
return (GooglePlayPublisherPluginExtension)getProject().getExtensions().findByName(GooglePlayPublisherPlugin.EXTENSION_NAME);
}
protected abstract void onExecute();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy