Commit c79a19c
Initial Groovy setup (#5747)
I have been working on Groovy support since I would like to use Mill for
projects where tests are written in Spock/Groovy.
It is basically a modified version of the Kotlin support.
Whats currently working:
- Groovy compilation (tested with 4 & 5)
- Maven project layout with an additional convenience option to
configure Groovy for tests only
- JUnit5 test execution
- Spock tests
- CompileStatic
- Configure Bytecode Version and Preview
If anyone would like to provide feedback I would appreciate it.
Pull request: #5747
Co-authored-by: Tobias Roeser <le.petit.fou@web.de>
Co-authored-by: Li Haoyi <haoyi.sg@gmail.com>1 parent 249fb3a commit c79a19c
File tree
83 files changed
+2225
-8
lines changed- .github/workflows
- core
- api/daemon/src/mill/api/daemon/internal
- bsp
- eval/src/mill/eval
- example
- groovylib
- basic
- 1-script
- 11-declarative
- src/foo
- test
- src/foo
- 3-simple
- src/foo
- test
- src/foo
- 4-module-deps
- bar
- src/bar
- test/src/bar
- foo/src/foo
- 5-compat-modules
- foo/src
- integration/groovy/foo
- main
- groovy/foo
- java/foo
- test/groovy/foo
- 6-programmable
- foo
- src/foo
- test/src/foo
- testing
- 1-test-suite
- bar
- src/bar
- test/src/bar
- foo
- src/foo
- test/src/foo
- 2-integration-suite
- qux
- integration/src/qux
- src/qux
- test/src/qux
- 3-spock
- src/foo
- test/foo
- 4-spock-for-java
- src
- main/java/foo
- test/groovy/foo
- integration/ide
- build-classpath-contents/src
- gen-idea/resources
- extended/idea/mill_modules
- hello-idea/idea/mill_modules
- libs
- groovylib
- api/src/mill/groovylib/worker/api
- src/mill/groovylib
- publish
- test
- resources/hello-groovy
- groovy-tests/src/test/groovy
- main
- compileroptions/src
- joint-compile/src
- script/src
- spock
- src
- tests/src
- src
- staticcompile/src
- test/src
- src/mill/groovylib
- worker/src/mill/groovylib/worker/impl
- javalib
- src/mill/javalib
- test/src/mill/javalib/junit5
- script
- src
- mill-build/src/millbuild
- website/docs/modules/ROOT
- pages/groovylib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
83 files changed
+2225
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments