forked from grails-plugins/grails-platform-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
87 lines (74 loc) · 2.46 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
version "3.0.3"
group "org.grails.plugins"
apply plugin:"eclipse"
apply plugin:"idea"
apply plugin:"org.grails.grails-plugin"
apply plugin:"org.grails.grails-plugin-publish"
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
provided "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-dependencies"
compile "org.grails:grails-web-boot"
compile "org.grails.plugins:cache"
console "org.grails:grails-console"
profile "org.grails.profiles:web-plugin"
provided "org.grails:grails-plugin-services"
provided "org.grails:grails-plugin-domain-class"
provided "org.codehaus.groovy:groovy-ant"
testCompile "org.grails:grails-plugin-testing"
provided "org.grails.plugins:hibernate4"
provided "org.hibernate:hibernate-core:4.3.10.Final"
provided "org.hibernate:hibernate-ehcache:4.3.10.Final"
}
grailsPublish {
user = System.getenv("BINTRAY_USER") ?: project.bintrayUser
key = System.getenv("BINTRAY_KEY") ?: project.bintrayKey
title = 'Platform core plugin'
desc = 'Grails Platform core plugin'
developers = [snimavat: 'Sudhir Nimavat']
githubSlug = '9ci/grails-platform-core'
issueTrackerUrl = 'https://github.com/9ci/grails-platform-core/issues'
vcsUrl = 'https://github.com/9ci/grails-platform-core'
license {
name = 'Apache-2.0'
}
userOrg = '9ci'
repo = 'grails-plugins'
bintray {
//override plufin only if it is snapshot
override = rootProject.version.endsWith("SNAPSHOT")
}
}
bootRepackage.enabled = false
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
//javadoc.enabled = false
//javadocJar.enabled = false