| buildscript { |
| repositories { |
| maven { url "https://repo.grails.org/grails/core" } |
| } |
| dependencies { |
| classpath "org.grails:grails-gradle-plugin:$grailsVersion" |
| classpath "io.spring.gradle:dependency-management-plugin:1.0.6.RELEASE" |
| } |
| } |
| |
| group "org.grails" |
| |
| apply plugin: 'eclipse' |
| apply plugin: 'idea' |
| apply plugin: 'groovy' |
| apply plugin: 'java-library' |
| apply plugin: 'maven-publish' |
| apply plugin: 'provided-base' |
| apply plugin: 'io.spring.dependency-management' |
| apply plugin: 'com.jfrog.bintray' |
| |
| ext { |
| gradleWrapperVersion = project.gradleWrapperVersion |
| userOrg = 'grails' |
| repo = 'grails-core' |
| isGrailsPlugin = false |
| projectDesc = "JSON Views Testing Support" |
| } |
| |
| sourceCompatibility = 1.8 |
| targetCompatibility = 1.8 |
| |
| |
| repositories { |
| mavenCentral() |
| maven { url "https://repo.grails.org/grails/core" } |
| } |
| |
| dependencies { |
| provided "org.grails:grails-core:$grailsVersion" |
| provided "org.grails:grails-dependencies:$grailsVersion" |
| provided "javax.servlet:javax.servlet-api:$servletApiVersion" |
| |
| api "org.grails:grails-gorm-testing-support:$testingSupportVersion" |
| api "org.grails:grails-web-testing-support:$testingSupportVersion" |
| api project(":views-json") |
| } |
| |
| task sourcesJar(type:Jar) { |
| classifier = 'sources' |
| from project.sourceSets.main.allSource |
| } |
| |
| task javadocJar(type:Jar) { |
| classifier = 'javadoc' |
| from groovydoc.outputs |
| } |
| |
| // Used for publishing to central repository, remove if not needed |
| |
| apply from:'../publishing/grailsCentralPublishing.gradle' |
| apply from:'../publishing/bintrayPublishing.gradle' |
| |