[Build] Add workflows for automatic releases

This commit is contained in:
SpaiR committed 2021-07-10 14:15:45 +03:00
1 parent 34e282e091
commit 1544682cc4
10 files changed
+190 -27

No files matched your search

+17
View File
@@ -1,3 +1,5 @@
import tool.UpVersion
allprojects {
group 'imgui-java'
version property('version')
@@ -5,3 +7,18 @@ allprojects {
mavenCentral()
}
}
tasks.register('upVersion', UpVersion)
tasks.register('buildAll') { t ->
t.group = 'build'
t.description = 'Build all project sources.'
t.dependsOn ':imgui-app:shadowJar'
['app', 'binding', 'lwjgl3'].each { module ->
['build', 'sourcesJar', 'javadocJar'].each { task ->
t.dependsOn ":imgui-$module:$task"
}
}
}