From 10e098715cd98e1ffc42a578183a3fcbf26ae694 Mon Sep 17 00:00:00 2001 From: fgnm Date: Fri, 7 Aug 2020 10:52:51 +0200 Subject: [PATCH] Upload runtime and spine extension to maven and jcenter --- build.gradle | 1 + h2d-libgdx-spine-extension/README.md | 19 ++++++++++++++++--- h2d-libgdx-spine-extension/build.gradle | 21 +++++++++++++++++++++ hyperlap2d-runtime-libgdx/README.md | 19 ++++++++++++++++--- hyperlap2d-runtime-libgdx/build.gradle | 17 +++++++++++++++++ 5 files changed, 71 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 85c2dc17..5077f3b3 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,7 @@ buildscript { } dependencies { classpath 'com.badlogicgames.gdx:gdx-tools:1.9.11' + classpath 'com.novoda:bintray-release:0.9.2' } } diff --git a/h2d-libgdx-spine-extension/README.md b/h2d-libgdx-spine-extension/README.md index f48489c5..6f1b34ad 100644 --- a/h2d-libgdx-spine-extension/README.md +++ b/h2d-libgdx-spine-extension/README.md @@ -2,12 +2,25 @@ HyperLap2D extension for libgdx runtime that adds Spine rendering support. -### Import +### Integration -You can include through gradle +#### Gradle +Release artefacts are available through [Bintray][bintray]. +```groovy +dependencies { + implementation 'games.rednblack.editor:h2d-libgdx-spine-extension:0.0.1' +} ``` -implementation '....' + +#### Maven +```xml + + games.rednblack.editor + h2d-libgdx-spine-extension + 0.0.1 + pom + ``` ### License diff --git a/h2d-libgdx-spine-extension/build.gradle b/h2d-libgdx-spine-extension/build.gradle index 7ef6ccdc..78c1460d 100644 --- a/h2d-libgdx-spine-extension/build.gradle +++ b/h2d-libgdx-spine-extension/build.gradle @@ -2,11 +2,32 @@ plugins { id 'java' } +apply plugin: 'com.novoda.bintray-release' + group 'games.rednblack' version '0.0.1' repositories { mavenCentral() + mavenCentral() +} + +publish { + def groupProjectID = 'games.rednblack.editor' + def artifactProjectID = 'h2d-libgdx-spine-extension' + def publishVersionID = '0.0.1' + + userOrg = 'rednblackgames' + repoName = 'HyperLap2D' + groupId = groupProjectID + artifactId = artifactProjectID + publishVersion = publishVersionID + desc = 'HyperLap2D Spine extension for libGDX runtime' + website = 'https://github.com/rednblackgames/HyperLap2D' +} + +tasks.withType(Javadoc).all { + enabled = false } dependencies { diff --git a/hyperlap2d-runtime-libgdx/README.md b/hyperlap2d-runtime-libgdx/README.md index 4d794ead..cb5d25e4 100644 --- a/hyperlap2d-runtime-libgdx/README.md +++ b/hyperlap2d-runtime-libgdx/README.md @@ -2,12 +2,25 @@ HyperLap2D runtime for libGDX framework. -### Import +### Integration -You can include through gradle +#### Gradle +Release artefacts are available through [Bintray][bintray]. +```groovy +dependencies { + implementation 'games.rednblack.editor:hyperlap2d-runtime-libgdx:0.0.1' +} ``` -implementation '....' + +#### Maven +```xml + + games.rednblack.editor + hyperlap2d-runtime-libgdx + 0.0.1 + pom + ``` ### Support diff --git a/hyperlap2d-runtime-libgdx/build.gradle b/hyperlap2d-runtime-libgdx/build.gradle index b57f4ef6..e6d84ba3 100644 --- a/hyperlap2d-runtime-libgdx/build.gradle +++ b/hyperlap2d-runtime-libgdx/build.gradle @@ -2,13 +2,30 @@ plugins { id 'java' } +apply plugin: 'com.novoda.bintray-release' + group 'games.rednblack' version '0.0.1' repositories { + jcenter() mavenCentral() } +publish { + def groupProjectID = 'games.rednblack.editor' + def artifactProjectID = 'hyperlap2d-runtime-libgdx' + def publishVersionID = '0.0.1' + + userOrg = 'rednblackgames' + repoName = 'HyperLap2D' + groupId = groupProjectID + artifactId = artifactProjectID + publishVersion = publishVersionID + desc = 'Runtime for libGDX to render HyperLap2D projects' + website = 'https://github.com/rednblackgames/HyperLap2D' +} + dependencies { implementation "com.badlogicgames.gdx:gdx:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"