Arclight/build.gradle
IzzelAliz abdda35369 Refactor, split out bootstrap and mod
Added missing AT

ForgeInstaller no longer been translated
2021-07-30 15:09:18 +08:00

36 lines
770 B
Groovy

allprojects {
group 'io.izzel.arclight'
version '1.0.0-SNAPSHOT'
def getGitHash = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = stdout
}
return stdout.toString().trim()
}
ext {
agpVersion = '1.20'
minecraftVersion = '1.17.1'
forgeVersion = '37.0.1'
apiVersion = '1.0.+'
toolsVersion = '1.3.+'
gitHash = getGitHash()
}
task cleanBuild {
doFirst {
project.file("build/libs").deleteDir()
}
}
}
task collect(type: Copy) {
destinationDir = file('build/libs')
subprojects.each { p ->
from p.file('build/libs')
}
}