-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
34 lines (28 loc) · 993 Bytes
/
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
plugins {
id 'java'
id 'groovy'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
sourceCompatibility = 1.7
version = '1.0'
mainClassName = "edu.pucmm.ia.sar.main.Main"
//Para compilar el groovy antes java,
// https://discuss.gradle.org/t/how-to-compile-groovy-sources-mixed-with-java-sources/6859/4
sourceSets.main.java.srcDirs = []
sourceSets.main.groovy.srcDirs += ["src/main/java", "/src/main/resources"]
repositories {
mavenCentral()
//caso: https://stackoverflow.com/questions/40326906/grails-jasper-plugin-dependency-download-error
maven{
url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile 'net.sf.jasperreports:jasperreports:5.6.1'
compile 'org.codehaus.groovy:groovy-all:2.3.7'
compile 'com.jgoodies:forms:1.2.1'
compile 'com.h2database:h2:1.4.182'
//compile 'com.lowagie:itext:4.2.1'
}