Skip to content
build.gradle 935 B
Newer Older
vforchi's avatar
vforchi committed
apply plugin: 'java'
apply plugin: 'war'

repositories {
    jcenter()
    mavenCentral()
    mavenLocal()
}

dependencies {
    compile fileTree(dir: 'lib', includes: ['stil_3.1.jar','cos-1.5beta.jar'])
vforchi's avatar
vforchi committed
    compile 'javax.servlet:javax.servlet-api:3.0.1'
    compile 'postgresql:postgresql:9.1-901.jdbc4'
    compile 'org.slf4j:slf4j-api:1.7.25'
vforchi's avatar
vforchi committed

    testCompile 'junit:junit:4.12'
    testCompile 'com.h2database:h2:1.4.193'
    testCompile fileTree(dir: 'lib', include: 'astroh2-0.3.jar')
    testCompile 'org.slf4j:slf4j-simple:1.7.25'
    
vforchi's avatar
vforchi committed
    
    testRuntime 'simple-jndi:simple-jndi:0.11.4.1'
    testRuntime 'com.vividsolutions:jts-core:1.14.0'
    testRuntime 'org.locationtech.spatial4j:spatial4j:0.6'
    testRuntime 'org.xerial:sqlite-jdbc:3.16.1'
vforchi's avatar
vforchi committed
}

vforchi's avatar
vforchi committed
compileJava {
    options.encoding = "UTF-8"
}

test{
	forkEvery = 1
	include '**/Test*'
}

vforchi's avatar
vforchi committed
sourceSets.main.java.srcDirs = ["src"]
sourceSets.test.java.srcDirs = ["test"]