diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..5c41c842 --- /dev/null +++ b/build.gradle @@ -0,0 +1,5 @@ +allprojects { + repositories { + mavenCentral() + } +} diff --git a/host-cache/build.gradle b/host-cache/build.gradle new file mode 100644 index 00000000..37c77884 --- /dev/null +++ b/host-cache/build.gradle @@ -0,0 +1,13 @@ +apply plugin: 'groovy' +apply plugin: 'application' + +dependencies { + compile 'net.i2p:i2p:0.9.35' + compile 'org.codehaus.groovy:groovy-all:2.5.0' +} + +compileGroovy { + groovyOptions.optimizationOptions.indy = true +} + +mainClassName = 'com.muwire.hostcache.HostCache' diff --git a/host-cache/src/main/groovy/com/muwire/hostcache/HostCache.groovy b/host-cache/src/main/groovy/com/muwire/hostcache/HostCache.groovy new file mode 100644 index 00000000..3c3b0d22 --- /dev/null +++ b/host-cache/src/main/groovy/com/muwire/hostcache/HostCache.groovy @@ -0,0 +1,9 @@ +package com.muwire.hostcache + +public class HostCache { + + public static void main(String[] args) { + print "Hello world" + } + +} diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 00000000..5e93f7ae --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +include 'host-cache'