-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
138 lines (118 loc) · 4.82 KB
/
build.gradle
File metadata and controls
138 lines (118 loc) · 4.82 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
buildscript {
ext {
mavenRepos = {
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://repo.grails.org/grails/core" }
mavenCentral()
}
}
repositories mavenRepos
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails.plugins:views-gradle:1.1.0"
}
}
version "0.0.3"
group "com.causecode.plugins"
apply plugin:"idea"
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.plugins.views-json"
apply plugin: 'maven-publish'
apply plugin: 'maven'
apply plugin: 'signing'
repositories mavenRepos
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
dependencies {
// Default plugin dependencies shipped with grails 3.2.0 and rest-api-plugin profile.
compile "org.springframework.boot:spring-boot-starter-logging:1.4.0.RELEASE"
compile "org.springframework.boot:spring-boot-autoconfigure:1.4.0.RELEASE"
compile "org.grails:grails-core:3.2.0"
compile "org.springframework.boot:spring-boot-starter-actuator:1.4.0.RELEASE"
provided "org.springframework.boot:spring-boot-starter-tomcat:1.4.0.RELEASE"
compile "org.grails:grails-plugin-url-mappings:3.2.0"
compile "org.grails:grails-plugin-rest:3.2.0"
compile "org.grails:grails-plugin-codecs:3.2.0"
compile "org.grails:grails-plugin-interceptors:3.2.0"
compile "org.grails:grails-plugin-services:3.2.0"
compile "org.grails:grails-plugin-datasource:3.2.0"
compile "org.grails:grails-plugin-databinding:3.2.0"
compile "org.grails:grails-plugin-async:3.2.0"
compile "org.grails:grails-web-boot:3.2.0"
compile "org.grails:grails-logging:3.2.0"
compile "org.grails.plugins:cache:3.0.3"
compile "org.grails.plugins:views-json:1.1.0"
compile "org.grails.plugins:views-json-templates:1.1.0"
console "org.grails:grails-console:3.2.0"
profile "org.grails.profiles:rest-api-plugin:3.2.0"
provided "org.grails:grails-plugin-services:3.2.0"
provided "org.grails:grails-plugin-domain-class:3.2.0"
// provided "org.codehaus.groovy:groovy-ant"
provided "org.springframework.boot:spring-boot-starter-tomcat:1.4.0.RELEASE"
runtime "com.h2database:h2:1.4.192"
testCompile "org.grails:grails-plugin-testing:3.2.0"
testCompile "org.grails.plugins:geb:1.0.2"
testCompile "org.grails:grails-datastore-rest-client:6.0.0.RELEASE"
testCompile "com.causecode.plugins:asynchronous-mail:2.3.1"
testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
// Spring Security Dependencies
provided "org.grails.plugins:spring-security-core:3.1.1"
provided "org.grails.plugins:spring-security-rest:2.0.0.M2"
// CauseCode Dependencies
provided "com.causecode.plugins:nucleus:0.4.81"
}
artifacts {
archives jar
archives javadocJar
archives sourcesJar
}
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
if (!project.hasProperty('ossrhUsername') || !project.hasProperty('ossrhPassword')) {
return
}
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'rest-security-core'
packaging 'jar'
description 'This plugin is used to update embedded instances when parent class gets updated.'
url 'https://github.com/causecode/rest-security-core'
scm {
url 'scm:svn:https://github.com/causecode/rest-security-core'
connection 'scm:svn:https://github.com/causecode/rest-security-core.git'
developerConnection 'https://github.com:causecode/rest-security-core.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'causecode'
name 'CauseCode Technologies'
email 'bootstrap@causecode.com'
}
}
}
}
}
}