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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
<beginfold id='1'>/*</beginfold id='1'> highlighting test case for Gradle (which actually uses Groovy syntax) <endfold id='1'>*/</endfold id='1'>
// single line comment with ### TODO FIXME
<beginfold id='1'>/*</beginfold id='1'> multiline comment with ### TODO FIXME <endfold id='1'>*/</endfold id='1'>
<beginfold id='2'>/**</beginfold id='2'> Javadoc comment with ### TODO FIXME
* @param foo bla bla ATTENTION
* @return abc cde
* @see javadoc.xml
<endfold id='2'>*/</endfold id='2'>
buildscript <beginfold id='3'>{</beginfold id='3'>
repositories <beginfold id='3'>{</beginfold id='3'>
jcenter()
<endfold id='3'>}</endfold id='3'>
dependencies <beginfold id='3'>{</beginfold id='3'>
classpath 'com.android.tools.build:gradle:2.2.3'
<endfold id='3'>}</endfold id='3'>
<endfold id='3'>}</endfold id='3'>
allprojects <beginfold id='3'>{</beginfold id='3'>
repositories <beginfold id='3'>{</beginfold id='3'>
jcenter()
<endfold id='3'>}</endfold id='3'>
<endfold id='3'>}</endfold id='3'>
apply plugin: 'com.android.application'
dependencies <beginfold id='3'>{</beginfold id='3'>
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'org.mnode.ical4j:ical4j:2.2.0'
<endfold id='3'>}</endfold id='3'>
android <beginfold id='3'>{</beginfold id='3'>
compileSdkVersion androidCompileSdkVersion.toInteger()
buildToolsVersion androidBuildToolsVersion
sourceSets <beginfold id='3'>{</beginfold id='3'>
main <beginfold id='3'>{</beginfold id='3'>
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java']
aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl']
res.srcDirs = [qt5AndroidDir + '/res', 'res']
resources.srcDirs = ['src']
renderscript.srcDirs = ['src']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
<endfold id='3'>}</endfold id='3'>
<endfold id='3'>}</endfold id='3'>
lintOptions <beginfold id='3'>{</beginfold id='3'>
abortOnError false
<endfold id='3'>}</endfold id='3'>
<endfold id='3'>}</endfold id='3'>
def a = 'ab\'c'
def a = '''\
abc $x.toString() ${x.toString()}
\nxy
'''
def a = '''
abc $x.toString() ${x.toString()}
\nxy
'''
def a = "ab\'c"
def a = """\
abc $x.toString() ${x.toString()}
\nxy
"""
def a = """
abc $x.toString() ${x.toString()}
\nxy
"""
def a = $/$ $$ $/ $= $x.toString() ${x.toString()}
abc
\nxy/$
def a = /ab\/c
\nxyd/
1_2e3_4
|