Groovy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
=String Programming=
=String Programming=


 
<font color=red>TODO next time I need it.</font>


=Organizatorium=
=Organizatorium=

Revision as of 21:44, 20 May 2018

TODO

TODO Groovy basics: https://docs.gradle.org/current/userguide/writing_build_scripts.html#groovy-dsl-basics

String Programming

TODO next time I need it.

Organizatorium

Groovy has both double-quoted and single-quoted String literals. The main difference is that double-quoted String literals support String interpolation:

def x = 10
println "result is $x" // prints: result is 10