Skip to content

Instantly share code, notes, and snippets.

@huxi
huxi / PushoverAnnouncer.gradle
Last active February 19, 2016 12:30
Gradle announcer for https://pushover.net/Put this into ~/.gradle/init.d/PushoverAnnouncer.gradle
import org.gradle.api.plugins.announce.Announcer
import org.gradle.api.plugins.announce.internal.AnnouncingBuildListener
import org.slf4j.Logger
import org.slf4j.LoggerFactory
def pushoverAppToken = 'YourAppToken'
def pushoverUser = 'YourUserToken'
class PushoverAnnouncer implements Announcer {
private static final Logger logger = LoggerFactory.getLogger(PushoverAnnouncer)
@Dierk
Dierk / build.gradle
Created October 7, 2011 22:43
build.gradle for setting up a new gradle-based project
apply plugin:'groovy'
apply plugin:'idea'
repositories { mavenCentral() }
dependencies {
groovy 'org.codehaus.groovy:groovy-all:1.8.2'
}
task makeDirs(description:'make all dirs for project setup') << {