Skip to content

Commit 6cebb9b

Browse files
committed
Merge pull request #9 from orkonano/release-2.0.0
Release 2.0.0 into master
2 parents 2638b4c + a0c4186 commit 6cebb9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+872
-5699
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@
3131

3232
# "temporary" build files
3333
/target
34+
build/
3435

3536
#IDE
3637
*.iml
3738
.idea/
3839
.classpath
3940
.project
41+
.gradle/
42+

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ sudo: false
22
language: groovy
33

44
before_script:
5-
- chmod +x grailsw
5+
- chmod +x gradlew
66
- chmod +x travis-build.sh
77
script: ./travis-build.sh

LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

application.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

build.gradle

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
buildscript {
2+
ext {
3+
grailsVersion = project.grailsVersion
4+
}
5+
repositories {
6+
mavenLocal()
7+
maven { url "https://repo.grails.org/grails/core" }
8+
}
9+
dependencies {
10+
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
11+
}
12+
}
13+
14+
plugins {
15+
id "io.spring.dependency-management" version "0.5.4.RELEASE"
16+
id "com.jfrog.bintray" version "1.2"
17+
}
18+
19+
version "2.0.0"
20+
group "org.grails.plugins"
21+
22+
apply plugin: 'maven-publish'
23+
apply plugin: 'eclipse'
24+
apply plugin: 'idea'
25+
apply plugin: "spring-boot"
26+
apply plugin: "org.grails.grails-plugin"
27+
apply plugin: "org.grails.grails-gsp"
28+
apply plugin: "jacoco"
29+
// Used for publishing to central repository, remove if not needed
30+
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
31+
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'
32+
33+
ext {
34+
grailsVersion = project.grailsVersion
35+
gradleWrapperVersion = project.gradleWrapperVersion
36+
}
37+
38+
sourceCompatibility = 1.7
39+
targetCompatibility = 1.7
40+
41+
repositories {
42+
mavenLocal()
43+
mavenCentral()
44+
maven { url "https://repo.grails.org/grails/core" }
45+
}
46+
47+
dependencyManagement {
48+
imports {
49+
mavenBom "org.grails:grails-bom:$grailsVersion"
50+
}
51+
applyMavenExclusions false
52+
}
53+
54+
dependencies {
55+
56+
compile 'org.jsoup:jsoup:1.8.1'
57+
compile 'org.grails:grails-datastore-rest-client:5.0.0.RC2'
58+
59+
provided 'org.springframework.boot:spring-boot-starter-logging'
60+
provided "org.springframework.boot:spring-boot-starter-actuator"
61+
provided "org.springframework.boot:spring-boot-autoconfigure"
62+
provided "org.springframework.boot:spring-boot-starter-tomcat"
63+
64+
provided "org.grails:grails-web-boot"
65+
provided "org.grails:grails-dependencies"
66+
provided 'javax.servlet:javax.servlet-api:3.1.0'
67+
68+
testCompile "org.grails:grails-plugin-testing"
69+
70+
console "org.grails:grails-console"
71+
}
72+
73+
jar {
74+
exclude "mailgun/demo/**",
75+
"**.gsp",
76+
"gsp**",
77+
"gsp/",
78+
"layouts/"
79+
}
80+
81+
task wrapper(type: Wrapper) {
82+
gradleVersion = gradleWrapperVersion
83+
}
84+
85+
//jacoco config
86+
jacocoTestReport {
87+
executionData test
88+
}
89+
90+
jacocoTestReport.dependsOn test
91+
92+
//Publish
93+
bintray {
94+
pkg {
95+
userOrg = 'orkonano' // If you want to publish to an organization
96+
name = "$project.name"
97+
repo = 'grails-plugin'
98+
issueTrackerUrl = "https://github.com/orkonano/grails-mailgun/issues"
99+
vcsUrl = "https://github.com/orkonano/grails-mailgun"
100+
version {
101+
attributes = ['grails-plugin': "$project.group:$project.name"]
102+
name = project.version
103+
}
104+
}
105+
}

0 commit comments

Comments
 (0)