This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'groovy' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.10' | |
| testCompile group: 'junit', name: 'junit', version: '4.8.2' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sourcerebels.tinspect | |
| class HashTag { | |
| String name | |
| public String getName() { | |
| println "getName" | |
| return name | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'eclipse' | |
| repositories { | |
| mavenCentral() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sourcebels | |
| import groovy.util.GroovyTestCase; | |
| class TheCube { | |
| public boolean containsPrimeNumber(String code1, String code2, String code3) { | |
| if (isPrimeNumber(sumDigits(code1)) || | |
| isPrimeNumber(sumDigits(code2)) || |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sourcebels | |
| import groovy.util.GroovyTestCase; | |
| class TheCube { | |
| public boolean containsPrimeNumber(String code1, String code2, String code3) { | |
| if (isPrimeNumber(sumDigits(code1)) || | |
| isPrimeNumber(sumDigits(code2)) || |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rootProject.name = 'urlrewrite' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grails.project.class.dir = "target/classes" | |
| grails.project.test.class.dir = "target/test-classes" | |
| grails.project.test.reports.dir = "target/test-reports" | |
| grails.project.war.file = "target/${appName}-${appVersion}.war" | |
| grails.project.dependency.resolution = { | |
| // inherit Grails' default dependencies | |
| inherits("global") { | |
| // uncomment to disable ehcache | |
| // excludes 'ehcache' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| target/ | |
| web-app/plugins/ | |
| web-app/WEB-INF/classes/ | |
| .classpath | |
| .project | |
| .settings |