-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (56 loc) · 1.66 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
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
mavenCentral()
jcenter()
maven {
url 'http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/'
}
maven {
url 'http://jasperreports.sourceforge.net/maven2'
}
maven {
url 'http://repository.jboss.org/maven2/'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.gmazelier:jasperreports-gradle-plugin:0.3.2"
}
}
apply plugin: 'com.github.gmazelier.jasperreports'
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
group 'ch.schulealtendorf'
version '1.0-SNAPSHOT'
jasperreports {
outDir = file("${project.buildDir}/resources/main")
}
compileJava.dependsOn compileAllReports
repositories {
mavenCentral()
maven {
url "https://jaspersoft.artifactoryonline.com/jaspersoft/jr-ce-releases/"
}
maven { url 'https://jitpack.io' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "com.github.BilledTrain380:PRA:1.0.0"
compile('com.guigarage:flatter:0.7')
compile('com.lowagie:itext:2.1.7')
compile('org.olap4j:olap4j:1.2.0')
compile('net.sf.jasperreports:jasperreports-functions:6.2.2')
compile ('net.sf.jasperreports:jasperreports:6.4.3') {
exclude group: 'com.lowagie'
exclude group: 'org.olap4j'
}
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}