/
BuildConfig.groovy
52 lines (48 loc) · 1.62 KB
/
BuildConfig.groovy
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
griffon.project.dependency.resolution = {
// implicit variables
// pluginName: plugin's name
// pluginVersion: plugin's version
// pluginDirPath: plugin's install path
// griffonVersion: current Griffon version
// groovyVersion: bundled groovy
// springVersion: bundled Spring
// antVertsion: bundled Ant
// slf4jVersion: bundled Slf4j
// inherit Griffon' default dependencies
inherits "global"
log "warn"
repositories {
griffonHome()
mavenCentral()
mavenRepo 'http://repository.sonatype.org/content/groups/public'
mavenRepo 'http://repository.jetbrains.com/releases'
/*
// pluginDirPath is only available when installed
String basePath = pluginDirPath? "${pluginDirPath}/" : ''
flatDir name: "kotlinLibDir", dirs: ["${basePath}lib/kotlin/lib"]
*/
}
dependencies {
String kotlinVersion = '0.1.2580'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
}
griffon {
doc {
logo = '<a href="http://griffon.codehaus.org" target="_blank"><img alt="The Griffon Framework" src="../img/griffon.png" border="0"/></a>'
sponsorLogo = "<br/>"
footer = "<br/><br/>Made with Griffon (@griffon.version@)"
}
}
log4j = {
// Example of changing the log pattern for the default console
// appender:
appenders {
console name: 'stdout', layout: pattern(conversionPattern: '%d [%t] %-5p %c - %m%n')
}
error 'org.codehaus.griffon',
'org.springframework',
'org.apache.karaf',
'groovyx.net'
warn 'griffon'
}