summaryrefslogtreecommitdiff
path: root/tests/examplefiles/test.gradle
blob: 0bc834c1ea0fe0903894a88db0d71e227623b80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
apply plugin: 'java'

repositories {
    mavenCentral()
}

dependencies {
    testCompile 'junit:junit:4.12'
}

task sayHello << {
    def x = SomeClass.worldString
    println "Hello ${x}"
}

private class SomeClass {
    public static String getWorldString() {
        return "world"
    }
}