@@ -8,31 +8,28 @@ buildscript {
8
8
}
9
9
dependencies {
10
10
classpath " org.grails:grails-gradle-plugin:$grailsVersion "
11
- classpath ' com.bertramlabs.plugins:asset-pipeline-gradle:2.1.1'
12
11
}
13
12
}
14
13
15
14
plugins {
16
15
id " io.spring.dependency-management" version " 0.3.1.RELEASE"
17
- id " com.jfrog.bintray" version " 1.1 "
16
+ id " com.jfrog.bintray" version " 1.6 "
18
17
}
19
18
20
- grailsVersion= 3.0.0 . M2
21
- gradleWrapperVersion= 2.3
22
-
23
- version " 0.1-SNAPSHOT"
24
- group " org.grails.plugins"
19
+ version " 3.0.0"
20
+ group " com.bertramlabs.plugins"
25
21
26
22
apply plugin : " spring-boot"
27
- apply plugin : " asset-pipeline"
28
23
apply plugin : " org.grails.grails-plugin"
29
24
apply plugin : " org.grails.grails-gsp"
30
25
apply plugin : ' maven-publish'
31
26
apply plugin : ' eclipse'
32
27
apply plugin : ' idea'
28
+ apply plugin : " org.grails.grails-plugin"
29
+ apply plugin : " org.grails.grails-plugin-publish"
33
30
// Used for publishing to central repository, remove if not needed
34
- apply from :' https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
35
- apply from :' https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'
31
+ // apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
32
+ // apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'
36
33
37
34
ext {
38
35
grailsVersion = project. grailsVersion
@@ -71,22 +68,32 @@ dependencies {
71
68
console " org.grails:grails-console"
72
69
}
73
70
74
-
75
71
bintray {
76
- if (project. hasProperty(' bintrayUser' )) {
77
- user = bintrayUser
78
- key = bintrayKey
79
- }
80
-
81
72
publications = [' maven' ]
82
73
pkg {
74
+ githubRepo = ' bertramdev/grails-security-bridge' // Optional Github repository
75
+ githubReleaseNotesFile = ' README.md' // Optional Github readme file
83
76
repo = ' grails3-plugins'
84
77
userOrg = ' bertramlabs'
85
- name = ' security-bridge'
86
78
licenses = [' Apache-2.0' ]
87
79
}
88
80
}
89
81
82
+ grailsPublish {
83
+ if (project. hasProperty(' bintrayUser' )) {
84
+ user = bintrayUser
85
+ key = bintrayKey
86
+ }
87
+ userOrg = ' bertramlabs'
88
+ githubSlug = ' bertramdev/grails-security-bridge'
89
+ license {
90
+ name = ' Apache-2.0'
91
+ }
92
+ title = " Security Bridge"
93
+ desc = " Defines a standard corss-plugin security bridge implementation for better decoupling of authentication in plugin heavy applications."
94
+ developers = [davidestes :" David Estes" , jcrosbie : " Jeremy Michael Crosbie" ]
95
+ }
96
+
90
97
eclipse {
91
98
classpath {
92
99
plusConfigurations + = [configurations. provided]
0 commit comments