build.gradle 982 Bytes
Newer Older
1 2 3
ext.set('de.zmt.gradle.dochost.deployPublic', true)
ext.set('de.zmt.gradle.dochost.publishPublic', true)

4 5 6 7
buildscript {
    repositories {
        jcenter()
        maven {
8 9 10 11
            // zmt maven repository - public
            url 'https://dochost.leibniz-zmt.de/'
            // zmt maven repository - intranet only
            url 'http://dochost.intra.zmt/maven2/'
12 13 14 15
        }
    }
    
    dependencies {
16
        classpath 'de.zmt:zmt-build:2+'
17 18 19 20
    }
}

apply plugin: 'de.zmt.library'
21 22

description = "Library for handling jScience data types in ZMT simulations"
23 24

dependencies {
25
    compile 'de.zmt:zmt-core:0.+'
mey's avatar
mey committed
26
    compile group: 'org.jscience', name: 'jscience', version: '4.3.1'
mey's avatar
mey committed
27
    
28 29
    // configuration needed when converted to project dependency
    testCompile group: 'de.zmt', name: 'zmt-core', version: '0.+', classifier: 'test', configuration: 'test'
30
}
31 32 33 34 35

javadoc.options.links.addAll(
    'http://dochost.intra.zmt/javadoc/zmt-core',
    'http://jscience.org/api/'
)