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

0001 /* highlighting test case for Gradle (which actually uses Groovy syntax) */
0002 
0003 // single line comment with ### TODO FIXME
0004 
0005 /* multiline comment with ### TODO FIXME */
0006 
0007 /** Javadoc comment with ### TODO FIXME
0008  * @param foo bla bla ATTENTION
0009  * @return abc cde
0010  * @see javadoc.xml
0011 */
0012 
0013 buildscript {
0014     repositories {
0015         jcenter()
0016     }
0017 
0018     dependencies {
0019         classpath 'com.android.tools.build:gradle:2.2.3'
0020     }
0021 }
0022 
0023 allprojects {
0024     repositories {
0025         jcenter()
0026     }
0027 }
0028 
0029 apply plugin: 'com.android.application'
0030 
0031 dependencies {
0032     compile fileTree(dir: 'libs', include: ['*.jar'])
0033     compile 'org.mnode.ical4j:ical4j:2.2.0'
0034 }
0035 
0036 android {
0037     compileSdkVersion androidCompileSdkVersion.toInteger()
0038 
0039     buildToolsVersion androidBuildToolsVersion
0040 
0041     sourceSets {
0042         main {
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        }
0052     }
0053 
0054     lintOptions {
0055         abortOnError false
0056     }
0057 }
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