-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
99 lines (85 loc) · 3.38 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
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
maven { url "https://nexus.k-int.com/service/rest/repository/browse/releases/" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "gradle.plugin.com.github.erdi.webdriver-binaries:webdriver-binaries-gradle-plugin:2.0"
classpath "org.grails.plugins:hibernate5:${gormHibernate-".RELEASE"}"
classpath 'org.grails.plugins:database-migration:3.1.0'
classpath 'com.bmuschko:gradle-docker-plugin:6.6.1'
}
}
version "${appVersion}"
group "org.olf.reshare.dm.directory"
//apply plugin:"eclipse"
//apply plugin:"idea"
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.grails-plugin-publish"
repositories {
mavenLocal()
// Ian: Added k-int nexus to act as a proxy repo for remote repos, and k-int specifics
maven { url "http://nexus.k-int.com/content/groups/public" }
maven { url "http://maven.k-int.com/content/repositories/releases" }
maven { url "https://repo.grails.org/grails/core" }
maven { url "http://maven.k-int.com/content/repositories/snapshots" }
}
dependencies {
// Grails 4 Plugin Dependencies
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-web-boot"
compile "org.grails:grails-logging"
compile "org.grails:grails-plugin-rest"
compile "org.grails:grails-plugin-databinding"
compile "org.grails:grails-plugin-i18n"
compile "org.grails:grails-plugin-services"
compile "org.grails:grails-plugin-url-mappings"
compile "org.grails:grails-plugin-interceptors"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:async"
compile "org.grails.plugins:scaffolding"
compile "org.grails.plugins:gsp"
compileOnly "io.micronaut:micronaut-inject-groovy"
console "org.grails:grails-console"
profile "org.grails.profiles:rest-api-plugin"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:3.0.10"
testCompile "io.micronaut:micronaut-inject-groovy"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.mockito:mockito-core"
testCompile "org.grails:grails-web-testing-support"
// Toolkit dependencies
compile 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1' // TODO: Migrate away from this resource.
compile 'com.k_int.grails:web-toolkit-ce:5.0.0-rc.5'
compile 'com.k_int.okapi:grails-okapi:4.0.0-rc.1'
runtime "org.postgresql:postgresql:42.2.14"
compile ('org.grails.plugins:database-migration:3.1.0') { // Required by Grails Okapi
exclude group: 'org.liquibase', module: 'liquibase-core'
}
compile 'org.liquibase:liquibase-core:3.9.0'
}
sourceSets {
main {
resources {
srcDir 'grails-app/migrations'
}
}
}
// Props can be set in ~/.gradle/gradle.properties
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/openlibraryenvironment/dm-directory"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}