-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from orkonano/release-2.0.0
Release 2.0.0 into master
- Loading branch information
Showing
45 changed files
with
872 additions
and
5,699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,12 @@ | |
|
||
# "temporary" build files | ||
/target | ||
build/ | ||
|
||
#IDE | ||
*.iml | ||
.idea/ | ||
.classpath | ||
.project | ||
.gradle/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
buildscript { | ||
ext { | ||
grailsVersion = project.grailsVersion | ||
} | ||
repositories { | ||
mavenLocal() | ||
maven { url "https://repo.grails.org/grails/core" } | ||
} | ||
dependencies { | ||
classpath "org.grails:grails-gradle-plugin:$grailsVersion" | ||
} | ||
} | ||
|
||
plugins { | ||
id "io.spring.dependency-management" version "0.5.4.RELEASE" | ||
id "com.jfrog.bintray" version "1.2" | ||
} | ||
|
||
version "2.0.0" | ||
group "org.grails.plugins" | ||
|
||
apply plugin: 'maven-publish' | ||
apply plugin: 'eclipse' | ||
apply plugin: 'idea' | ||
apply plugin: "spring-boot" | ||
apply plugin: "org.grails.grails-plugin" | ||
apply plugin: "org.grails.grails-gsp" | ||
apply plugin: "jacoco" | ||
// Used for publishing to central repository, remove if not needed | ||
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle' | ||
apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle' | ||
|
||
ext { | ||
grailsVersion = project.grailsVersion | ||
gradleWrapperVersion = project.gradleWrapperVersion | ||
} | ||
|
||
sourceCompatibility = 1.7 | ||
targetCompatibility = 1.7 | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
maven { url "https://repo.grails.org/grails/core" } | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom "org.grails:grails-bom:$grailsVersion" | ||
} | ||
applyMavenExclusions false | ||
} | ||
|
||
dependencies { | ||
|
||
compile 'org.jsoup:jsoup:1.8.1' | ||
compile 'org.grails:grails-datastore-rest-client:5.0.0.RC2' | ||
|
||
provided 'org.springframework.boot:spring-boot-starter-logging' | ||
provided "org.springframework.boot:spring-boot-starter-actuator" | ||
provided "org.springframework.boot:spring-boot-autoconfigure" | ||
provided "org.springframework.boot:spring-boot-starter-tomcat" | ||
|
||
provided "org.grails:grails-web-boot" | ||
provided "org.grails:grails-dependencies" | ||
provided 'javax.servlet:javax.servlet-api:3.1.0' | ||
|
||
testCompile "org.grails:grails-plugin-testing" | ||
|
||
console "org.grails:grails-console" | ||
} | ||
|
||
jar { | ||
exclude "mailgun/demo/**", | ||
"**.gsp", | ||
"gsp**", | ||
"gsp/", | ||
"layouts/" | ||
} | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = gradleWrapperVersion | ||
} | ||
|
||
//jacoco config | ||
jacocoTestReport { | ||
executionData test | ||
} | ||
|
||
jacocoTestReport.dependsOn test | ||
|
||
//Publish | ||
bintray { | ||
pkg { | ||
userOrg = 'orkonano' // If you want to publish to an organization | ||
name = "$project.name" | ||
repo = 'grails-plugin' | ||
issueTrackerUrl = "https://github.com/orkonano/grails-mailgun/issues" | ||
vcsUrl = "https://github.com/orkonano/grails-mailgun" | ||
version { | ||
attributes = ['grails-plugin': "$project.group:$project.name"] | ||
name = project.version | ||
} | ||
} | ||
} |
Oops, something went wrong.