Files
RedBear-OS/local/recipes/kde/kf6-syntaxhighlighting/source/autotests/folding/build.gradle.fold
T

87 lines
2.5 KiB
Plaintext

<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