snowboy932 / groovylab-tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Groovy lab

How to run and test your code

In this repo there's a docker-compose file with gradle image. To run container, run in your terminal:

docker-compose run gradle

In this container you can run and test your code. The recommended flow it to edit app/src/main/groovy/groovylab/App.groovy file and then run

gradle run

in the container.

Example of app/src/main/groovy/groovylab/App.groovy:

package groovylab

class App {
    static void main(String[] args) {
        println "hello world"
    }
}

About


Languages

Language:Groovy 100.0%