0.2.0-dev Download ZIP
177 lines ·7.0 KB Raw
| 1 | apply plugin: 'maven-publish' |
| 2 | apply plugin: 'signing' |
| 3 | |
| 4 | group = ossrhGroupId |
| 5 | version = PUBLISH_VERSION |
| 6 | |
| 7 | afterEvaluate { |
| 8 | publishing { |
| 9 | publications { |
| 10 | templateDebug(MavenPublication) { |
| 11 | from components.templateDebug |
| 12 | |
| 13 | // The coordinates of the library, being set from variables that |
| 14 | // we'll set up later |
| 15 | groupId = ossrhGroupId |
| 16 | artifactId = DEBUG_PUBLISH_ARTIFACT_ID |
| 17 | version = PUBLISH_VERSION |
| 18 | |
| 19 | // Mostly self-explanatory metadata |
| 20 | pom { |
| 21 | name = DEBUG_PUBLISH_ARTIFACT_ID |
| 22 | description = 'Godot Engine Android Library - (Debug) Template Build' |
| 23 | url = 'https://godotengine.org/' |
| 24 | licenses { |
| 25 | license { |
| 26 | name = 'MIT License' |
| 27 | url = 'https://github.com/godotengine/godot/blob/master/LICENSE.txt' |
| 28 | } |
| 29 | } |
| 30 | developers { |
| 31 | developer { |
| 32 | id = 'm4gr3d' |
| 33 | name = 'Fredia Huya-Kouadio' |
| 34 | email = 'fhuyakou@gmail.com' |
| 35 | } |
| 36 | developer { |
| 37 | id = 'reduz' |
| 38 | name = 'Juan Linietsky' |
| 39 | email = 'reduzio@gmail.com' |
| 40 | } |
| 41 | developer { |
| 42 | id = 'akien-mga' |
| 43 | name = 'Rémi Verschelde' |
| 44 | email = 'rverschelde@gmail.com' |
| 45 | } |
| 46 | developer { |
| 47 | id = 'godotengine' |
| 48 | name = 'Godot Engine contributors' |
| 49 | email = 'contact@godotengine.org' |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // Version control info - if you're using GitHub, follow the |
| 54 | // format as seen here |
| 55 | scm { |
| 56 | connection = 'scm:git:github.com/godotengine/godot.git' |
| 57 | developerConnection = 'scm:git:ssh://github.com/godotengine/godot.git' |
| 58 | url = 'https://github.com/godotengine/godot/tree/master' |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | templateRelease(MavenPublication) { |
| 63 | from components.templateRelease |
| 64 | |
| 65 | // The coordinates of the library, being set from variables that |
| 66 | // we'll set up later |
| 67 | groupId = ossrhGroupId |
| 68 | artifactId = PUBLISH_ARTIFACT_ID |
| 69 | version = PUBLISH_VERSION |
| 70 | |
| 71 | // Mostly self-explanatory metadata |
| 72 | pom { |
| 73 | name = PUBLISH_ARTIFACT_ID |
| 74 | description = 'Godot Engine Android Library - Template Build' |
| 75 | url = 'https://godotengine.org/' |
| 76 | licenses { |
| 77 | license { |
| 78 | name = 'MIT License' |
| 79 | url = 'https://github.com/godotengine/godot/blob/master/LICENSE.txt' |
| 80 | } |
| 81 | } |
| 82 | developers { |
| 83 | developer { |
| 84 | id = 'm4gr3d' |
| 85 | name = 'Fredia Huya-Kouadio' |
| 86 | email = 'fhuyakou@gmail.com' |
| 87 | } |
| 88 | developer { |
| 89 | id = 'reduz' |
| 90 | name = 'Juan Linietsky' |
| 91 | email = 'reduzio@gmail.com' |
| 92 | } |
| 93 | developer { |
| 94 | id = 'akien-mga' |
| 95 | name = 'Rémi Verschelde' |
| 96 | email = 'rverschelde@gmail.com' |
| 97 | } |
| 98 | developer { |
| 99 | id = 'godotengine' |
| 100 | name = 'Godot Engine contributors' |
| 101 | email = 'contact@godotengine.org' |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | // Version control info - if you're using GitHub, follow the |
| 106 | // format as seen here |
| 107 | scm { |
| 108 | connection = 'scm:git:github.com/godotengine/godot.git' |
| 109 | developerConnection = 'scm:git:ssh://github.com/godotengine/godot.git' |
| 110 | url = 'https://github.com/godotengine/godot/tree/master' |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | toolsRelease(MavenPublication) { |
| 115 | from components.editorRelease |
| 116 | |
| 117 | // The coordinates of the library, being set from variables that |
| 118 | // we'll set up later |
| 119 | groupId = ossrhGroupId |
| 120 | artifactId = TOOLS_PUBLISH_ARTIFACT_ID |
| 121 | version = PUBLISH_VERSION |
| 122 | |
| 123 | // Mostly self-explanatory metadata |
| 124 | pom { |
| 125 | name = TOOLS_PUBLISH_ARTIFACT_ID |
| 126 | description = 'Godot Engine Tools Android Library - Editor Build' |
| 127 | url = 'https://godotengine.org/' |
| 128 | licenses { |
| 129 | license { |
| 130 | name = 'MIT License' |
| 131 | url = 'https://github.com/godotengine/godot/blob/master/LICENSE.txt' |
| 132 | } |
| 133 | } |
| 134 | developers { |
| 135 | developer { |
| 136 | id = 'm4gr3d' |
| 137 | name = 'Fredia Huya-Kouadio' |
| 138 | email = 'fhuyakou@gmail.com' |
| 139 | } |
| 140 | developer { |
| 141 | id = 'reduz' |
| 142 | name = 'Juan Linietsky' |
| 143 | email = 'reduzio@gmail.com' |
| 144 | } |
| 145 | developer { |
| 146 | id = 'akien-mga' |
| 147 | name = 'Rémi Verschelde' |
| 148 | email = 'rverschelde@gmail.com' |
| 149 | } |
| 150 | developer { |
| 151 | id = 'godotengine' |
| 152 | name = 'Godot Engine contributors' |
| 153 | email = 'contact@godotengine.org' |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | // Version control info - if you're using GitHub, follow the |
| 158 | // format as seen here |
| 159 | scm { |
| 160 | connection = 'scm:git:github.com/godotengine/godot.git' |
| 161 | developerConnection = 'scm:git:ssh://github.com/godotengine/godot.git' |
| 162 | url = 'https://github.com/godotengine/godot/tree/master' |
| 163 | } |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | signing { |
| 171 | useInMemoryPgpKeys( |
| 172 | rootProject.ext["signing.keyId"], |
| 173 | rootProject.ext["signing.key"], |
| 174 | rootProject.ext["signing.password"], |
| 175 | ) |
| 176 | sign publishing.publications |
| 177 | } |