From 8797bda5efb63c18b4e8a74d4e54e6357f31f913 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Tue, 28 Apr 2015 23:51:47 -0400 Subject: [PATCH] Maven: remove unneeded properties Those are determined automatically by gradle, no need to specify explicitly. --- common.gradle | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/common.gradle b/common.gradle index 9d65f7338..0852470e4 100644 --- a/common.gradle +++ b/common.gradle @@ -5,15 +5,15 @@ apply plugin: 'java' apply plugin: 'maven' -String mavenGroupId = 'com.jme3' -String mavenVersion = jmeVersion + '-' + jmeVersionTag //'-SNAPSHOT' +group = 'com.jme3' +version = jmeVersion + '-' + jmeVersionTag sourceCompatibility = '1.6' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' repositories { mavenCentral() - maven{ + maven { url "http://nifty-gui.sourceforge.net/nifty-maven-repo" } } @@ -23,11 +23,6 @@ dependencies { testCompile group: 'junit', name: 'junit', version: '4.10' } -String mavenArtifactId = name - -group = mavenGroupId -version = mavenVersion - javadoc { failOnError = false options.memberLevel = org.gradle.external.javadoc.JavadocMemberLevel.PROTECTED @@ -60,14 +55,6 @@ artifacts { } } -configure(install.repositories.mavenInstaller) { - pom.project { - groupId = mavenGroupId - artifactId = mavenArtifactId - version = mavenVersion - } -} - task createFolders(description: 'Creates the source folders if they do not exist.') doLast { // sourceSets*.allSource*.srcDirs*.each { File srcDir -> // if (!srcDir.isDirectory()) {