Skip to content

Commit

Permalink
Merge pull request #9 from orkonano/release-2.0.0
Browse files Browse the repository at this point in the history
Release 2.0.0 into master
  • Loading branch information
orkonano committed Jan 6, 2016
2 parents 2638b4c + a0c4186 commit 6cebb9b
Show file tree
Hide file tree
Showing 45 changed files with 872 additions and 5,699 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@

# "temporary" build files
/target
build/

#IDE
*.iml
.idea/
.classpath
.project
.gradle/

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ sudo: false
language: groovy

before_script:
- chmod +x grailsw
- chmod +x gradlew
- chmod +x travis-build.sh
script: ./travis-build.sh
202 changes: 0 additions & 202 deletions LICENSE

This file was deleted.

4 changes: 0 additions & 4 deletions application.properties

This file was deleted.

105 changes: 105 additions & 0 deletions build.gradle
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
}
}
}
Loading

0 comments on commit 6cebb9b

Please sign in to comment.