-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
110 lines (93 loc) · 3.17 KB
/
build.gradle
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
buildscript {
version "4.1.0-SNAPSHOT"
group "au.org.ala"
}
plugins {
id "groovy"
id "org.grails.grails-gsp"
id "org.grails.grails-web"
id "com.github.erdi.webdriver-binaries" version "3.0"
id "war"
id "idea"
id "com.bertramlabs.asset-pipeline"
id "application"
id "eclipse"
id "com.gorylenko.gradle-git-properties" version "2.4.1"
id "maven-publish"
}
publishing {
targetCompatibility = 1.11
repositories {
maven {
name 'Nexus'
url "https://nexus.ala.org.au/content/repositories/${project.version.endsWith('-SNAPSHOT') ? 'snapshots' : 'releases'}"
credentials {
username = System.getenv('TRAVIS_DEPLOY_USERNAME')
password = System.getenv('TRAVIS_DEPLOY_PASSWORD')
}
}
}
publications {
mavenJar(MavenPublication) {
artifact bootWar
}
}
}
repositories {
mavenLocal()
maven { url "https://nexus.ala.org.au/content/groups/public/" }
mavenCentral()
maven { url "https://repo.grails.org/grails/core/" }
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
all {
resolutionStrategy.force 'org.codehaus.groovy:groovy-xml:3.0.13'
resolutionStrategy.eachDependency { DependencyResolveDetails details->
if (details.requested.group == 'org.seleniumhq.selenium') {
details.useVersion('4.10.0')
}
}
}
}
dependencies {
implementation("org.grails:grails-core")
implementation("org.grails:grails-logging")
implementation("org.grails:grails-plugin-databinding")
implementation("org.grails:grails-plugin-i18n")
implementation("org.grails:grails-plugin-interceptors")
implementation("org.grails:grails-plugin-rest")
implementation("org.grails:grails-plugin-services")
implementation("org.grails:grails-plugin-url-mappings")
implementation("org.grails:grails-web-boot")
implementation("org.grails.plugins:gsp")
implementation("org.springframework.boot:spring-boot-autoconfigure")
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-logging")
implementation("org.springframework.boot:spring-boot-starter-tomcat")
implementation("org.springframework.boot:spring-boot-starter-validation")
compileOnly("io.micronaut:micronaut-inject-groovy")
runtimeOnly("com.bertramlabs.plugins:asset-pipeline-grails:4.3.0")
implementation "org.grails.plugins:cache"
implementation 'dk.glasius:external-config:3.1.1'
profile "org.grails.profiles:web"
implementation 'com.nerderg.ajaxanywhere:ajaxanywhere:2.1.1'
implementation("org.grails.plugins:ala-auth:$alaSecurityLibsVersion") {
exclude module: "cache"
}
implementation "org.grails.plugins:ala-admin-plugin:2.3.0"
implementation "org.grails.plugins:ala-bootstrap3:4.4.0"
}
bootWar {
dependsOn(compileGroovyPages)
}
war {
dependsOn(compileGroovyPages)
}
java {
sourceCompatibility = JavaVersion.toVersion("11")
}