forked from FCL-Team/FoldCraftLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (28 loc) · 851 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
plugins {
id 'java'
}
group 'org.lwjgl'
configurations.default.setCanBeResolved(true)
project.setArchivesBaseName('lwjgl')
project.setLibsDirName("${rootDir}/FCL/src/main/assets/app_runtime/lwjgl-boat")
task buildLwjglBoat(dependsOn:'jar')
jar {
doLast {
archiveFileName = 'lwjgl.jar'
manifest {
attributes 'Manifest-Version': '3.3.3'
}
destinationDirectory.set(file("../FCL/src/main/assets/app_runtime/lwjgl-boat"))
File versionFile = file("../FCL/src/main/assets/app_runtime/lwjgl-boat/version")
versionFile.write(String.valueOf(new Date().getTime()))
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
dependencies {
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
}