summaryrefslogtreecommitdiffstats
path: root/build.gradle
blob: c6183574bf0cbff8d63e2eeb415c1959a0dae115 (plain)
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
plugins {
    id 'java'
    id 'com.github.johnrengelman.shadow' version '7.0.0'
}

defaultTasks 'allJar'

subprojects {
    apply plugin: 'java'

    group = 'com.leonardobishop'
    version = '3.0'

    sourceCompatibility = 1.8
    targetCompatibility = 1.8

}

task allJar( type: Jar, dependsOn: subprojects.tasks['build'] ) {
    subprojects.each { subproject ->
        from subproject.configurations.archives.allArtifacts.files.collect {
            zipTree(it)
        }
    }
}

artifacts {
    archives allJar
}