hu.ponte.respresso.plugin.gradle.PrinterTask.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-android Show documentation
Show all versions of client-android Show documentation
Sync client for Android projects
package hu.ponte.respresso.plugin.gradle
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
public class PrinterTask extends DefaultTask {
@Input
String textToPrint
@TaskAction
def printText() {
System.out.println(textToPrint + System.currentTimeMillis().toString())
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy