mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-20 15:27:24 +00:00
create configureAddon method
This commit is contained in:
1 parent
a15e45875e
commit
fe18d89580
1 file changed
+7
@@ -11,6 +11,13 @@ fun Project.configureCommon() {
|
||||
version = rootProject.version
|
||||
}
|
||||
|
||||
fun Project.configureAddon() {
|
||||
configureDependencies()
|
||||
configureCompilation()
|
||||
|
||||
version = rootProject.version
|
||||
}
|
||||
|
||||
fun Project.getGitHash(): String {
|
||||
val stdout = ByteArrayOutputStream()
|
||||
exec {
|
||||
|
||||
Reference in new issue
Block a user