build.gradle 1.57 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
buildscript {
    repositories {

        mavenLocal()
        maven {
            url "${gradle.ext.artifactoryUrl}/${gradle.ext.artifactoryRepoKey}"
            credentials {
                username = "${gradle.ext.artifactoryUser}"
                password = "${gradle.ext.artifactoryPass}"
            }
        }
    }
    dependencies {
        classpath("ee.sm.ti.teis:ee.sm.ti.teis.gradle.plugin:${pluginVersion}")
    }
    configurations.all {
        // Check for updates every build
        resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
    }

}
22

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apply plugin: 'ee.sm.ti.teis'

allprojects {

    functionalities{
        base
    }

    repositories {
        mavenLocal()
        maven {
            url "${gradle.ext.artifactoryUrl}/${gradle.ext.artifactoryRepoKey}"
            credentials {
                username = "${gradle.ext.artifactoryUser}"
                password = "${gradle.ext.artifactoryPass}"
            }
        }
        jcenter()
    }

43
44
    apply from: this.getClass().getClassLoader().getResource('teis.test-sonar.gradle')

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
    group = "${theGroup}"
    version = "${theVersion}"

    sourceCompatibility = 11
    targetCompatibility = 11

    jar {
        manifest {
            attributes('Implementation-Title': project.name,
                    'Implementation-Version': project.version)
        }
    }

    dependencies {
        compile "ee.sm.ti.teis:office-api-gateway-lib:${officeApiGatewayVersion}"
        compile "ee.sm.ti.teis:service-common-lib:${commonsVersion}"
Ivar Meikas's avatar
Ivar Meikas committed
61
        compile "ee.sm.ti.teis:domain-cache-lib:${commonsVersion}"
62
63
    }
}