Arclight/build.gradle

38 lines
831 B
Groovy
Raw Normal View History

2020-05-16 06:22:29 +00:00
allprojects {
group 'io.izzel.arclight'
2022-10-25 13:01:49 +00:00
version '1.0.1-SNAPSHOT'
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 {
agpVersion = '1.23'
2022-09-02 06:22:09 +00:00
minecraftVersion = '1.19.2'
2022-10-29 09:05:37 +00:00
forgeVersion = '43.1.47'
2022-10-25 11:57:59 +00:00
apiVersion = '1.5.0'
toolsVersion = '1.3.0'
mixinVersion = '0.8.5'
2022-11-23 05:43:58 +00:00
versionName = 'horn'
gitHash = getGitHash()
2020-06-16 08:18:26 +00:00
}
task cleanBuild {
doFirst {
2020-08-17 15:05:28 +00:00
project.file("build/libs").deleteDir()
}
}
2020-05-16 06:22:29 +00:00
}
task collect(type: Copy) {
destinationDir = file('build/libs')
subprojects.each { p ->
from p.file('build/libs')
}
}