mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 21:40:08 +00:00
apply common configurations automatically
This commit is contained in:
1 parent
67d3af71bf
commit
fb26b02ad1
6 files changed
+8
-42
No files matched your search
@@ -4,20 +4,13 @@ import org.gradle.api.Project
|
||||
import java.io.ByteArrayOutputStream
|
||||
|
||||
fun Project.configureCommon() {
|
||||
configureDependencies()
|
||||
configureCompilation()
|
||||
configureDistribution()
|
||||
configurePublishing()
|
||||
|
||||
version = rootProject.version
|
||||
}
|
||||
|
||||
fun Project.configureAddon() {
|
||||
configureDependencies()
|
||||
configureCompilation()
|
||||
configurePublishing()
|
||||
|
||||
version = rootProject.version
|
||||
}
|
||||
|
||||
fun Project.getGitHash(): String {
|
||||
|
||||
Reference in new issue
Block a user