blob: 5c1b1eb707b3f721a606bc0710e6a389980fd050 (
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
|
plugins {
id 'java'
}
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
google()
jcenter()
}
// This extraLibs solution is explained here: https://discuss.gradle.org/t/how-to-include-dependencies-in-jar/19571/5
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
dependencies {
extraLibs fileTree(dir: 'libs', include: ['*.jar'])
//testCompile group: 'junit', name: 'junit', version: '4.12'
extraLibs project(path: ':sdl_java_ee')
configurations.implementation.extendsFrom(configurations.extraLibs)
}
|