-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (29 loc) · 987 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
35
import java.util.function.Consumer
/*tasks.register('uberJar', Jar) {
archiveClassifier = 'uber'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}*/
/*task uberJar(type: Jar, dependsOn: subprojects.tasks["build"]) {
subprojects.each { project ->
from project.configurations.archives.allArtifacts.files.collect { zipTree(it) }
}
manifest {
attributes 'Main-Class': 'app:fr.sarainfras.caillou15.app.App'
}
}*/
/*subprojects.each { subproject -> evaluationDependsOn(subproject.path)}
task allJar( type: Jar, dependsOn: subprojects.tasks["build"] ) {
baseName = 'allJar'
subprojects.each { subproject ->
from subproject.configurations.archives.allArtifacts.files.collect {
zipTree(it)
}
}
}
artifacts {
archives allJar
}*/