All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jdroid.android.googleplay.publisher.commons.AbstractTask Maven / Gradle / Ivy

There is a newer version: 3.9.1
Show newest version
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