diff options
| author | 2016-09-21 12:25:26 +0200 | |
|---|---|---|
| committer | 2016-09-21 12:25:26 +0200 | |
| commit | 4f5c97eaaa40e65274c692662559bd26a7d591f3 (patch) | |
| tree | 23353f86eff0b7c4cb1ce8a96766861f3d3a554e /build.gradle | |
| parent | Comment debug openDeclaration (diff) | |
| download | enigma-4f5c97eaaa40e65274c692662559bd26a7d591f3.tar.gz enigma-4f5c97eaaa40e65274c692662559bd26a7d591f3.tar.xz enigma-4f5c97eaaa40e65274c692662559bd26a7d591f3.zip | |
add Jenkinsfile and new Maven
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 59 |
1 files changed, 1 insertions, 58 deletions
diff --git a/build.gradle b/build.gradle index 8dc5d416..d42cd61a 100644 --- a/build.gradle +++ b/build.gradle | |||
| @@ -166,61 +166,4 @@ artifacts { | |||
| 166 | // And finally, make the build generate / install the jars. | 166 | // And finally, make the build generate / install the jars. |
| 167 | build.dependsOn install | 167 | build.dependsOn install |
| 168 | 168 | ||
| 169 | uploadArchives { | 169 | apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/maven.gradle' |
| 170 | repositories { | ||
| 171 | mavenDeployer { | ||
| 172 | if (project.hasProperty('mavenPass')){ | ||
| 173 | repository(url: "http://mavenupload.modmuss50.me/") { | ||
| 174 | authentication(userName: "buildslave", password: project.getProperty('mavenPass')) | ||
| 175 | } | ||
| 176 | } | ||
| 177 | else{ | ||
| 178 | repository(url: "file:///var/www/maven/") | ||
| 179 | } | ||
| 180 | pom { | ||
| 181 | groupId = "net.fabricmc" | ||
| 182 | version = project.version | ||
| 183 | artifactId = project.archivesBaseName | ||
| 184 | project { | ||
| 185 | name project.archivesBaseName | ||
| 186 | packaging 'jar' | ||
| 187 | description 'Enigma' | ||
| 188 | url 'https://github.com/FabricMC/Enigma' | ||
| 189 | scm { | ||
| 190 | url 'https://github.com/FabricMC/Enigma' | ||
| 191 | connection 'scm:git:git@github.com:FabricMC/Enigma.git' | ||
| 192 | developerConnection 'scm:git:git@github.com:FabricMC/Enigma.git' | ||
| 193 | } | ||
| 194 | issueManagement { | ||
| 195 | system 'github' | ||
| 196 | url 'https://github.com/FabricMC/Enigma/issues' | ||
| 197 | } | ||
| 198 | licenses { | ||
| 199 | license { | ||
| 200 | name 'License' | ||
| 201 | url 'https://github.com/FabricMC/Enigma/blob/master/readme.txt' | ||
| 202 | distribution 'repo' | ||
| 203 | } | ||
| 204 | } | ||
| 205 | developers { | ||
| 206 | developer { | ||
| 207 | id 'modmuss50' | ||
| 208 | name 'modmuss50' | ||
| 209 | roles { role 'developer' } | ||
| 210 | } | ||
| 211 | developer { | ||
| 212 | id 'Thog' | ||
| 213 | name 'Thog' | ||
| 214 | roles { role 'developer' } | ||
| 215 | } | ||
| 216 | developer { | ||
| 217 | id 'Cuchaz' | ||
| 218 | name 'Cuchaz' | ||
| 219 | roles { role 'developer' } | ||
| 220 | } | ||
| 221 | } | ||
| 222 | } | ||
| 223 | } | ||
| 224 | } | ||
| 225 | } | ||
| 226 | } \ No newline at end of file | ||