2020-05-16 06:22:29 +00:00
|
|
|
allprojects {
|
|
|
|
group 'io.izzel.arclight'
|
2024-01-26 13:23:24 +00:00
|
|
|
version '1.0.5-SNAPSHOT'
|
2020-05-30 10:02:34 +00:00
|
|
|
|
2021-07-30 07:09:18 +00:00
|
|
|
def getGitHash = { ->
|
|
|
|
def stdout = new ByteArrayOutputStream()
|
|
|
|
exec {
|
|
|
|
commandLine 'git', 'rev-parse', '--short', 'HEAD'
|
|
|
|
standardOutput = stdout
|
|
|
|
}
|
|
|
|
return stdout.toString().trim()
|
|
|
|
}
|
|
|
|
|
2020-06-16 08:18:26 +00:00
|
|
|
ext {
|
2022-06-22 16:09:06 +00:00
|
|
|
agpVersion = '1.23'
|
2023-06-15 03:57:04 +00:00
|
|
|
minecraftVersion = '1.20.1'
|
2024-01-20 14:57:09 +00:00
|
|
|
forgeVersion = '47.2.20'
|
2023-06-08 09:11:01 +00:00
|
|
|
apiVersion = '1.5.4'
|
2022-10-25 11:57:59 +00:00
|
|
|
toolsVersion = '1.3.0'
|
2021-12-03 05:27:06 +00:00
|
|
|
mixinVersion = '0.8.5'
|
2023-06-08 09:18:00 +00:00
|
|
|
versionName = 'trials'
|
2021-07-30 07:09:18 +00:00
|
|
|
gitHash = getGitHash()
|
2020-06-16 08:18:26 +00:00
|
|
|
}
|
|
|
|
|
2020-05-30 10:02:34 +00:00
|
|
|
task cleanBuild {
|
|
|
|
doFirst {
|
2020-08-17 15:05:28 +00:00
|
|
|
project.file("build/libs").deleteDir()
|
2020-05-30 10:02:34 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-16 06:22:29 +00:00
|
|
|
}
|
2020-05-30 10:02:34 +00:00
|
|
|
|
|
|
|
task collect(type: Copy) {
|
|
|
|
destinationDir = file('build/libs')
|
2023-06-08 09:57:16 +00:00
|
|
|
from project(':arclight-forge').file('build/libs')
|
2023-06-08 10:21:03 +00:00
|
|
|
dependsOn { project(':arclight-forge').tasks.jar }
|
2021-05-26 15:12:50 +00:00
|
|
|
}
|