This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.otto.lhotse.xlt.gradle | |
import groovy.json.StringEscapeUtils | |
import org.gradle.internal.reflect.Instantiator | |
import org.gradle.api.Plugin | |
import org.gradle.api.Project | |
import org.gradle.api.tasks.compile.JavaCompile | |
import org.gradle.api.tasks.Copy | |
import org.gradle.api.tasks.Sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ConfigurePropertiesTask extends DefaultTask { | |
@Input | |
File source | |
@Input | |
String sourcePrefix = null | |
@Input | |
Map merge = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import thhi.vertx.base.VerticleBase | |
class MyVerticle extends GroovyVerticleBase { | |
def start () { | |
def myConfig = getMandatoryConfig("someConfigItem") | |
def actionHandlers = [ | |
"someAction": { message -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package thhi.vertx.base | |
import org.vertx.groovy.core.AsyncResult | |
import org.vertx.groovy.core.eventbus.Message; | |
import org.vertx.groovy.platform.Verticle | |
import org.vertx.java.core.Future | |
import org.vertx.java.core.shareddata.ConcurrentSharedMap; | |
abstract class GroovyVerticleBase extends Verticle { |