hello groovy
This commit is contained in:
5
build.gradle
Normal file
5
build.gradle
Normal file
@@ -0,0 +1,5 @@
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
13
host-cache/build.gradle
Normal file
13
host-cache/build.gradle
Normal file
@@ -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'
|
@@ -0,0 +1,9 @@
|
||||
package com.muwire.hostcache
|
||||
|
||||
public class HostCache {
|
||||
|
||||
public static void main(String[] args) {
|
||||
print "Hello world"
|
||||
}
|
||||
|
||||
}
|
1
settings.gradle
Normal file
1
settings.gradle
Normal file
@@ -0,0 +1 @@
|
||||
include 'host-cache'
|
Reference in New Issue
Block a user