forked from paulwellnerbou/grails-birt-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (62 loc) · 2.17 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
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
plugins {
id 'net.researchgate.release' version '2.7.0'
}
group "org.grails.plugins"
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-plugin-publish"
apply plugin: "org.grails.grails-gsp"
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
maven { url "http://www.it-jw.com/maven" }
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.grails:grails-dependencies"
compile "org.grails:grails-web-boot"
compile "org.grails.plugins:cache"
compile 'org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.3.0a'
// necessary to prevent following error:
// Caused by: java.lang.NoSuchMethodError: org.mozilla.javascript.Parser.parse(Ljava/lang/String;Ljava/lang/String;I)Lorg/mozilla/javascript/ScriptOrFnNode;
compile group: 'rhino', name: 'js', version: '1.7R1'
provided "org.grails:grails-plugin-services"
provided "org.grails:grails-plugin-domain-class"
testCompile "org.grails:grails-gorm-testing-support"
}
allprojects {
tasks.withType(Javadoc).all { enabled = false }
}
afterReleaseBuild.dependsOn publish
afterReleaseBuild.dependsOn bintrayPublish
// user and key configuration for bintray deployment:
// ./gradlew bintrayUpload -PpublishUser=<USER> -PpublishKey=<KEY>
if (!project.hasProperty("publishUser")) {
ext.publishUser = ""
}
if (!project.hasProperty("publishKey")) {
ext.publishKey = ""
}
grailsPublish {
user = "$publishUser"
key = "$publishKey"
githubSlug = 'paulwellnerbou/grails-birt-plugin'
repo = 'maven'
userOrg = 'paulwellnerbou'
license {
name = 'Apache-2.0'
}
title = "BIRT Reporting Plugin"
desc = "Makes it easy to integrate the BIRT reporting engine (runtime component) into your Grails application."
developers = [paulwellnerbou: "Paul Wellner Bou"]
}