mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
Cleanup the gradle build configuration
These changes resolve the inconsistency between gradle and scons targets by configuring the gradle buildtypes to match the scons targets.
This commit is contained in:
parent
cb0b2aefc3
commit
6f2442b17a
10 changed files with 205 additions and 80 deletions
|
|
@ -7,20 +7,15 @@ version = PUBLISH_VERSION
|
|||
afterEvaluate {
|
||||
publishing {
|
||||
publications {
|
||||
release(MavenPublication) {
|
||||
templateRelease(MavenPublication) {
|
||||
from components.templateRelease
|
||||
|
||||
// The coordinates of the library, being set from variables that
|
||||
// we'll set up later
|
||||
groupId ossrhGroupId
|
||||
artifactId PUBLISH_ARTIFACT_ID
|
||||
version PUBLISH_VERSION
|
||||
|
||||
// Two artifacts, the `aar` (or `jar`) and the sources
|
||||
if (project.plugins.findPlugin("com.android.library")) {
|
||||
from components.release
|
||||
} else {
|
||||
from components.java
|
||||
}
|
||||
|
||||
// Mostly self-explanatory metadata
|
||||
pom {
|
||||
name = PUBLISH_ARTIFACT_ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue