diff options
Diffstat (limited to 'hello_sdl_java/build.gradle')
| -rw-r--r-- | hello_sdl_java/build.gradle | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hello_sdl_java/build.gradle b/hello_sdl_java/build.gradle new file mode 100644 index 000000000..8f3c7a526 --- /dev/null +++ b/hello_sdl_java/build.gradle @@ -0,0 +1,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_se') + configurations.implementation.extendsFrom(configurations.extraLibs) + +}
\ No newline at end of file |
