Skip to content

Commit b56e740

Browse files
committed
build: Moving from Bintray to JFrog for distribution
1 parent e87de3a commit b56e740

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ Links
2525
Installation
2626
------------
2727

28-
To install just add the plugin to the plugins block of `build.gradle`. For Grails 4.x & higher
28+
**Under `repositories` section**
29+
30+
```groovy
31+
maven { url "https://wizpanda.jfrog.io/artifactory/default-maven-local" }
32+
```
33+
34+
**Under `dependencies` section**
2935

3036
```groovy
3137
compile "com.wizpanda.plugins:asynchronous-mail:3.0.0"

build.gradle

+5-12
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66
dependencies {
77
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
88
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.14.2"
9+
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '4.+')
910
}
1011
}
1112

@@ -14,9 +15,10 @@ group "com.wizpanda.plugins"
1415

1516
apply plugin: "idea"
1617
apply plugin: "org.grails.grails-plugin"
17-
apply plugin: "org.grails.grails-plugin-publish"
1818
apply plugin: "org.grails.grails-gsp"
1919
apply plugin: "asset-pipeline"
20+
apply plugin: 'maven-publish'
21+
apply plugin: 'com.jfrog.artifactory'
2022

2123
repositories {
2224
mavenLocal()
@@ -105,14 +107,5 @@ bootJar.enabled = false
105107
]
106108
}*/
107109

108-
grailsPublish {
109-
githubSlug = "wizpanda/asynchronous-mail"
110-
userOrg = "wizpanda"
111-
repo = "grails-plugins"
112-
license {
113-
name = "Apache-2.0"
114-
}
115-
title = "Grails Asynchronous Mail plugin"
116-
desc = "The plugin realises asynchronous mail sending. It stores messages in a DB and sends them asynchronously by a quartz job."
117-
developers = [sagrawal31: "Shashank Agrawal"]
118-
}
110+
apply from: "https://raw.githubusercontent.com/wizpanda/gradle-common/main/grails-plugin-jfrog-publish.gradle"
111+
apply from: "https://raw.githubusercontent.com/wizpanda/gradle-common/main/bump-version.gradle"

gradle.properties

+9
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@ gormVersion=6.1.8.RELEASE
33
org.gradle.daemon=true
44
org.gradle.parallel=true
55
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx1024M
6+
7+
# Keep empty username & passwords to make normal build pass
8+
wpArtifactoryUsername=
9+
wpArtifactoryPassword=
10+
11+
pomName=Grails Asynchronous Mail plugin
12+
pomDescription=The plugin realises asynchronous mail sending. It stores messages in a DB and sends them asynchronously by a quartz job.
13+
pomURL=https://github.com/wizpanda/asynchronous-mail
14+
pomGitHubSlug=wizpanda/asynchronous-mail

0 commit comments

Comments
 (0)