mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
create configureAddon method
This commit is contained in:
@@ -11,6 +11,13 @@ fun Project.configureCommon() {
|
|||||||
version = rootProject.version
|
version = rootProject.version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun Project.configureAddon() {
|
||||||
|
configureDependencies()
|
||||||
|
configureCompilation()
|
||||||
|
|
||||||
|
version = rootProject.version
|
||||||
|
}
|
||||||
|
|
||||||
fun Project.getGitHash(): String {
|
fun Project.getGitHash(): String {
|
||||||
val stdout = ByteArrayOutputStream()
|
val stdout = ByteArrayOutputStream()
|
||||||
exec {
|
exec {
|
||||||
|
|||||||
Reference in New Issue
Block a user