From e27d5967029f4f3da8889dd673ba516dcd9f3ac8 Mon Sep 17 00:00:00 2001 From: gegy1000 Date: Sun, 16 Jun 2019 23:49:25 +0200 Subject: Plugin rework along with API rework: Enigma split from EnigmaProject; plugins now provide services configurable via a profile --- build.gradle | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 7711454f..63c221da 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'maven' group = 'cuchaz' -version = '0.13.1' +version = '0.13.2' def generatedSourcesDir = "$buildDir/generated-src" @@ -197,7 +197,30 @@ artifacts { // And finally, make the build generate / install the jars. build.dependsOn install -apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/maven.gradle' +//apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/maven.gradle' + +configurations { + deployerJars +} + +dependencies { + deployerJars "org.apache.maven.wagon:wagon-ssh:2.10" +} + +uploadArchives { + repositories { + mavenDeployer { + repository(url: 'file://localhost/Users/gegy1/.m2/repository') + pom { + artifactId = project.archivesBaseName + project { + name = project.name + packaging = 'jar' + } + } + } + } +} uploadArchives.repositories.mavenDeployer.pom.withXml { asNode().dependencies.'*'.findAll() { it.artifactId.text() == 'darcula' } -- cgit v1.2.3