This repository was archived by the owner on Jul 28, 2023. It is now read-only.
File tree 17 files changed +45
-221
lines changed
17 files changed +45
-221
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish package to GitHub Packages
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ publish :
7
+ runs-on : ubuntu-latest
8
+ permissions :
9
+ contents : read
10
+ packages : write
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : actions/setup-java@v2
14
+ with :
15
+ java-version : 8
16
+ - name : Publish package
17
+ run : gradle publish
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,18 +13,16 @@ group "org.grails.plugins"
13
13
apply plugin :" eclipse"
14
14
apply plugin :" idea"
15
15
apply plugin :" org.grails.grails-plugin"
16
- apply plugin :" org.grails.grails-plugin -publish"
16
+ apply plugin :" maven -publish"
17
17
18
18
ext {
19
19
grailsVersion = project. grailsVersion
20
20
gradleWrapperVersion = project. gradleWrapperVersion
21
21
}
22
22
23
23
repositories {
24
- mavenLocal()
25
- jcenter()
24
+ mavenCentral()
26
25
maven { url " https://repo.grails.org/grails/core" }
27
- maven { url " http://dl.bintray.com/agorapulse/libs" }
28
26
}
29
27
30
28
dependencyManagement {
@@ -54,3 +52,21 @@ dependencies {
54
52
testCompile ' net.bytebuddy:byte-buddy:1.9.14'
55
53
56
54
}
55
+
56
+ publishing {
57
+ repositories {
58
+ maven {
59
+ name = " GitHubPackages"
60
+ url = uri(" https://maven.pkg.github.com/agorapulse/grails-aws-sdk" )
61
+ credentials {
62
+ username = System . getenv(" GITHUB_ACTOR" )
63
+ password = System . getenv(" GITHUB_TOKEN" )
64
+ }
65
+ }
66
+ }
67
+ publications {
68
+ gpr(MavenPublication ) {
69
+ from(components. java)
70
+ }
71
+ }
72
+ }
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ project.apply plugin: "codenarc"
6
6
7
7
repositories {
8
8
mavenCentral()
9
- jcenter()
10
9
}
11
10
12
11
dependencies {
@@ -103,4 +102,4 @@ codenarc {
103
102
104
103
codenarcTest {
105
104
configFile rootProject. file(' gradle/codenarc/codenarcTest.groovy' )
106
- }
105
+ }
Original file line number Diff line number Diff line change 1
- # Tue Jul 16 12:14:30 MSK 2019
1
+ gw # Tue Jul 16 12:14:30 MSK 2019
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -8,18 +8,3 @@ dependencies {
8
8
9
9
provided " org.springframework.boot:spring-boot-starter-tomcat"
10
10
}
11
-
12
- grailsPublish {
13
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
14
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
15
- userOrg = ' agorapulse'
16
- githubSlug = " agorapulse/grails-$project . name "
17
- license {
18
- name = ' Apache-2.0'
19
- }
20
- title = " AWS SDK Cognito"
21
- desc = " Grails AWS SDK Cognito plugin"
22
- developers = [benorama :" Benoit Hediard" , musketyr : " Vladimir Orany" ]
23
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
24
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
25
- }
Original file line number Diff line number Diff line change @@ -9,18 +9,3 @@ dependencies {
9
9
compileOnly " com.amazonaws:amazon-dax-client:1.0.202017.0"
10
10
testCompile " com.amazonaws:amazon-dax-client:1.0.202017.0"
11
11
}
12
-
13
- grailsPublish {
14
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
15
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
16
- userOrg = ' agorapulse'
17
- githubSlug = " agorapulse/grails-$project . name "
18
- license {
19
- name = ' Apache-2.0'
20
- }
21
- title = " AWS SDK DynamoDB"
22
- desc = " Grails AWS SDK DynamoDB plugin"
23
- developers = [benorama :" Benoit Hediard" , jvdrean :" Jean-Vincent Drean" ]
24
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
25
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
26
- }
Original file line number Diff line number Diff line change @@ -7,18 +7,3 @@ dependencies {
7
7
// Latest AWS SDK Kinesis lib
8
8
compile " com.amazonaws:aws-java-sdk-kinesis:$awsJavaSdkVersion "
9
9
}
10
-
11
- grailsPublish {
12
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
13
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
14
- userOrg = ' agorapulse'
15
- githubSlug = " agorapulse/grails-$project . name "
16
- license {
17
- name = ' Apache-2.0'
18
- }
19
- title = " AWS SDK Kinesis"
20
- desc = " Grails AWS SDK Kinesis plugin"
21
- developers = [benorama :" Benoit Hediard" ]
22
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
23
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
24
- }
Original file line number Diff line number Diff line change @@ -5,18 +5,3 @@ dependencies {
5
5
compile " com.amazonaws:aws-java-sdk-s3:$awsJavaSdkVersion "
6
6
compile " org.codehaus.groovy:groovy-dateutil:$groovyVersion "
7
7
}
8
-
9
- grailsPublish {
10
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
11
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
12
- userOrg = ' agorapulse'
13
- githubSlug = " agorapulse/grails-$project . name "
14
- license {
15
- name = ' Apache-2.0'
16
- }
17
- title = " AWS SDK S3"
18
- desc = " Grails AWS SDK S3 plugin"
19
- developers = [benorama :" Benoit Hediard" ]
20
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
21
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
22
- }
Original file line number Diff line number Diff line change @@ -13,21 +13,6 @@ dependencies {
13
13
compile " com.amazonaws:aws-java-sdk-ses:$awsJavaSdkVersion "
14
14
}
15
15
16
- grailsPublish {
17
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
18
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
19
- userOrg = ' agorapulse'
20
- githubSlug = " agorapulse/grails-$project . name "
21
- license {
22
- name = ' Apache-2.0'
23
- }
24
- title = " AWS SDK SES"
25
- desc = " Grails AWS SDK SES plugin"
26
- developers = [benorama :" Benoit Hediard" , sdelamo :" Sergio del Amo" ]
27
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
28
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
29
- }
30
-
31
16
test {
32
17
systemProperties System . properties
33
- }
18
+ }
Original file line number Diff line number Diff line change @@ -6,19 +6,3 @@ dependencies {
6
6
// Latest AWS SDK for SQS
7
7
compile " com.amazonaws:aws-java-sdk-sns:$awsJavaSdkVersion "
8
8
}
9
-
10
- grailsPublish {
11
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
12
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
13
- userOrg = ' agorapulse'
14
- githubSlug = " agorapulse/grails-$project . name "
15
- license {
16
- name = ' Apache-2.0'
17
- }
18
- title = " AWS SDK SNS"
19
- desc = " Grails AWS SDK SNS plugin"
20
- developers = [benorama :" Benoit Hediard" , floppy : " Florian Ernoult" ]
21
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
22
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
23
- }
24
-
Original file line number Diff line number Diff line change @@ -4,18 +4,3 @@ dependencies {
4
4
// Latest AWS SDK for SQS
5
5
compile " com.amazonaws:aws-java-sdk-sqs:$awsJavaSdkVersion "
6
6
}
7
-
8
- grailsPublish {
9
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
10
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
11
- userOrg = ' agorapulse'
12
- githubSlug = " agorapulse/grails-$project . name "
13
- license {
14
- name = ' Apache-2.0'
15
- }
16
- title = " AWS SDK SQS"
17
- desc = " Grails AWS SDK SQS plugin"
18
- developers = [benorama :" Benoit Hediard" ]
19
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
20
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
21
- }
Original file line number Diff line number Diff line change @@ -8,18 +8,3 @@ dependencies {
8
8
9
9
provided " org.springframework.boot:spring-boot-starter-tomcat"
10
10
}
11
-
12
- grailsPublish {
13
- user = System . getenv(" BINTRAY_USER" ) ?: ' '
14
- key = System . getenv(" BINTRAY_KEY" ) ?: ' '
15
- userOrg = ' agorapulse'
16
- githubSlug = " agorapulse/grails-$project . name "
17
- license {
18
- name = ' Apache-2.0'
19
- }
20
- title = " AWS SDK STS"
21
- desc = " Grails AWS SDK STS plugin"
22
- developers = [benorama :" Benoit Hediard" , musketyr : " Vladimir Orany" ]
23
- portalUser = System . getenv(" GRAILS_PORTAL_USER" ) ?: ' '
24
- portalPassword = System . getenv(" GRAILS_PORTAL_PASSWORD" ) ?: ' '
25
- }
Original file line number Diff line number Diff line change 1
1
apply from : " ../gradle/groovy.commons.gradle"
2
- apply plugin : " com.jfrog.bintray"
3
2
4
3
buildscript {
5
4
repositories {
6
- jcenter ()
5
+ mavenCentral ()
7
6
maven { url " https://plugins.gradle.org/m2/" }
8
7
}
9
8
dependencies {
@@ -14,21 +13,3 @@ buildscript {
14
13
dependencies {
15
14
compile " com.amazonaws:aws-java-sdk-s3:$awsJavaSdkVersion "
16
15
}
17
-
18
- bintray {
19
- user = System . getenv(" BINTRAY_USER" )
20
- key = System . getenv(" BINTRAY_KEY" )
21
- publications = [' maven' ]
22
- publish = true
23
- pkg {
24
- repo = ' libs'
25
- name = ' groovy-aws-sdk-s3'
26
- userOrg = ' agorapulse'
27
- licenses = [' Apache-2.0' ]
28
- publish = true
29
- version {
30
- name = project. version
31
- released = new Date ()
32
- }
33
- }
34
- }
Original file line number Diff line number Diff line change 1
1
apply from : " ../gradle/groovy.commons.gradle"
2
- apply plugin : " com.jfrog.bintray"
3
2
4
3
buildscript {
5
4
repositories {
6
- jcenter ()
5
+ mavenCentral ()
7
6
maven { url " https://plugins.gradle.org/m2/" }
8
7
}
9
8
dependencies {
@@ -17,22 +16,3 @@ dependencies {
17
16
// Necessary to support attachments
18
17
compile ' javax.mail:mail:1.4.4'
19
18
}
20
-
21
-
22
- bintray {
23
- user = System . getenv(" BINTRAY_USER" )
24
- key = System . getenv(" BINTRAY_KEY" )
25
- publications = [' maven' ]
26
- publish = true
27
- pkg {
28
- repo = ' libs'
29
- name = ' groovy-aws-sdk-ses'
30
- userOrg = ' agorapulse'
31
- licenses = [' Apache-2.0' ]
32
- publish = true
33
- version {
34
- name = project. version
35
- released = new Date ()
36
- }
37
- }
38
- }
Original file line number Diff line number Diff line change 1
1
apply from : " ../gradle/groovy.commons.gradle"
2
- apply plugin : " com.jfrog.bintray"
3
2
4
3
buildscript {
5
4
repositories {
6
- jcenter ()
5
+ mavenCentral ()
7
6
maven { url " https://plugins.gradle.org/m2/" }
8
7
}
9
8
dependencies {
@@ -14,21 +13,3 @@ buildscript {
14
13
dependencies {
15
14
compile " com.amazonaws:aws-java-sdk-core:$awsJavaSdkVersion "
16
15
}
17
-
18
- bintray {
19
- user = System . getenv(" BINTRAY_USER" )
20
- key = System . getenv(" BINTRAY_KEY" )
21
- publications = [' maven' ]
22
- publish = true
23
- pkg {
24
- repo = ' libs'
25
- name = ' groovy-aws-sdk-util'
26
- userOrg = ' agorapulse'
27
- licenses = [' Apache-2.0' ]
28
- publish = true
29
- version {
30
- name = project. version
31
- released = new Date ()
32
- }
33
- }
34
- }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments