Warning, /frameworks/syntax-highlighting/autotests/folding/build.gradle.fold is written in an unsupported language. File is not indexed.

0001 <beginfold id='1'>/*</beginfold id='1'> highlighting test case for Gradle (which actually uses Groovy syntax) <endfold id='1'>*/</endfold id='1'>
0002 
0003 // single line comment with ### TODO FIXME
0004 
0005 <beginfold id='1'>/*</beginfold id='1'> multiline comment with ### TODO FIXME <endfold id='1'>*/</endfold id='1'>
0006 
0007 <beginfold id='2'>/**</beginfold id='2'> Javadoc comment with ### TODO FIXME
0008  * @param foo bla bla ATTENTION
0009  * @return abc cde
0010  * @see javadoc.xml
0011 <endfold id='2'>*/</endfold id='2'>
0012 
0013 buildscript <beginfold id='3'>{</beginfold id='3'>
0014     repositories <beginfold id='3'>{</beginfold id='3'>
0015         jcenter()
0016     <endfold id='3'>}</endfold id='3'>
0017 
0018     dependencies <beginfold id='3'>{</beginfold id='3'>
0019         classpath 'com.android.tools.build:gradle:2.2.3'
0020     <endfold id='3'>}</endfold id='3'>
0021 <endfold id='3'>}</endfold id='3'>
0022 
0023 allprojects <beginfold id='3'>{</beginfold id='3'>
0024     repositories <beginfold id='3'>{</beginfold id='3'>
0025         jcenter()
0026     <endfold id='3'>}</endfold id='3'>
0027 <endfold id='3'>}</endfold id='3'>
0028 
0029 apply plugin: 'com.android.application'
0030 
0031 dependencies <beginfold id='3'>{</beginfold id='3'>
0032     compile fileTree(dir: 'libs', include: ['*.jar'])
0033     compile 'org.mnode.ical4j:ical4j:2.2.0'
0034 <endfold id='3'>}</endfold id='3'>
0035 
0036 android <beginfold id='3'>{</beginfold id='3'>
0037     compileSdkVersion androidCompileSdkVersion.toInteger()
0038 
0039     buildToolsVersion androidBuildToolsVersion
0040 
0041     sourceSets <beginfold id='3'>{</beginfold id='3'>
0042         main <beginfold id='3'>{</beginfold id='3'>
0043             manifest.srcFile 'AndroidManifest.xml'
0044             java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java']
0045             aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl']
0046             res.srcDirs = [qt5AndroidDir + '/res', 'res']
0047             resources.srcDirs = ['src']
0048             renderscript.srcDirs = ['src']
0049             assets.srcDirs = ['assets']
0050             jniLibs.srcDirs = ['libs']
0051        <endfold id='3'>}</endfold id='3'>
0052     <endfold id='3'>}</endfold id='3'>
0053 
0054     lintOptions <beginfold id='3'>{</beginfold id='3'>
0055         abortOnError false
0056     <endfold id='3'>}</endfold id='3'>
0057 <endfold id='3'>}</endfold id='3'>
0058 
0059 def a = 'ab\'c'
0060 def a = '''\
0061 abc $x.toString() ${x.toString()}
0062 \nxy
0063 '''
0064 def a = '''
0065 abc $x.toString() ${x.toString()}
0066 \nxy
0067 '''
0068 
0069 def a = "ab\'c"
0070 def a = """\
0071 abc $x.toString() ${x.toString()}
0072 \nxy
0073 """
0074 def a = """
0075 abc $x.toString() ${x.toString()}
0076 \nxy
0077 """
0078 
0079 def a = $/$ $$ $/ $= $x.toString() ${x.toString()}
0080 abc
0081 \nxy/$
0082 
0083 def a = /ab\/c
0084 \nxyd/
0085 
0086 1_2e3_4