forked from yohannrub/grails-spring-security-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
81 lines (67 loc) · 1.79 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
buildscript {
ext {
grailsVersion = project.grailsVersion
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.15.1"
}
}
version "1.4.0"
group = 'com.binxhealth'
apply plugin:"eclipse"
apply plugin: "idea"
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-plugin-publish"
apply plugin: "org.grails.grails-gsp"
apply plugin: "asset-pipeline"
ext {
grailsVersion = project.grailsVersion
gradleWrapperVersion = project.gradleWrapperVersion
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.grails.org/grails/core" }
}
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
dependencies {
compile 'com.github.scribejava:scribejava-apis:6.8.1'
console "org.grails:grails-console"
profile "org.grails.profiles:web-plugin"
provided 'javax.servlet:javax.servlet-api:3.1.0'
provided 'org.grails:grails-dependencies'
provided 'org.grails.plugins:spring-security-core:3.2.+'
provided "org.grails:grails-plugin-services"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.15.1"
testCompile "cglib:cglib-nodep:2.2.2"
testCompile "org.grails:grails-plugin-testing"
testCompile "org.grails:grails-web-testing-support"
}
task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/binxhealth/grails-spring-security-oauth2"
credentials {
username "${System.getenv('GPR_USER') ?: gprUser}"
password "${System.getenv('GPR_API_TOKEN') ?: gprApiToken}"
}
}
}
}
assets {
packagePlugin = true
}