Re: Does 3.0.0-beta-3 have modularization support ?

2019-08-14 Thread Tommy Svensson
OK, I see. 

Thank you!

/Tommy


Från: Daniel.Sun 
Svara: users@groovy.apache.org 
Datum: 14 augusti 2019 at 06:00:30
Till: us...@groovy.incubator.apache.org 
Ämne:  Re: Does 3.0.0-beta-3 have modularization support ?  

Groovy 3 has not been modularized, modularization is targeted to Groovy  
4(alpha will be released soon).  

Support writing module-info file in Groovy is in our TODO list.  

Groovy 3 eliminates most of illegal access warnings generated by Java9+.  

Cheers,  
Daniel.Sun  



-  
Apache Groovy committer & PMC member  
Blog: http://blog.sunlan.me  
Twitter: @daniel_sun  

--  
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html  


Re: Does 3.0.0-beta-3 have modularization support ?

2019-08-13 Thread Daniel.Sun
Groovy 3 has not been modularized, modularization is targeted to Groovy
4(alpha will be released soon).

Support writing module-info file in Groovy is in our TODO list.

Groovy 3 eliminates most of illegal access warnings generated by Java9+.

Cheers,
Daniel.Sun



-
Apache Groovy committer & PMC member 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html


Re: Does 3.0.0-beta-3 have modularization support ?

2019-08-13 Thread Tommy Svensson
Hmm …

src/
    main/
        /groovy
            Something.groovy
            …
src/
    main/
        /java
            module-info.java

Seems to work! Is that how you are supposed to do it ? Is it maybe not worth 
the effort to provide a module-info.groovy ?

Thanks,
Tommy

Från: Tommy Svensson 
Svara: Tommy Svensson 
Datum: 13 augusti 2019 at 20:06:05
Till: users@groovy.apache.org 
Ämne:  Does 3.0.0-beta-3 have modularization support ?  

Hello,

I was under the impression that the 3.0* version branch of Groovy was 
supporting Java 9+ modularisation. Is that incorrect ? 

module-info.groovy is not recognised and I find nothing about modularisation in 
the docs. 

Googling on this has not helped either. 

Any information is appreciated.

Thanks,
Tommy