Source: multiverse-core
Version: 0.7.0-3
Severity: important
Tags: patch

I would like to upload gradle 2.5 to unstable. multiverse-core is one
of the packages that is blocking this.

Apparently this package uses a removed gradle method, mavenRepo, which causes
it to fail to build from source.

We could either replace mavenRepo with maven but I think removing the
whole repository paragraph in gradle.build is also a safe solution
because it is unused anyway.

Attached is patch that works for me.

Markus
From: Markus Koschany <[email protected]>
Date: Sun, 16 Aug 2015 09:50:27 +0000
Subject: mavenRepo

---
 build.gradle | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/build.gradle b/build.gradle
index 6667789..bd48828 100644
--- a/build.gradle
+++ b/build.gradle
@@ -47,14 +47,6 @@ project(':multiverse-core') {
         title = "Multiverse Core $version"
     }
 
-    repositories {
-        mavenRepo(url: localMavenRepo)
-        mavenCentral()
-        mavenRepo(url: 'http://download.java.net/maven/2/')
-        mavenRepo(url: 'https://maven.atlassian.com/content/groups/public')
-        mavenRepo(url: 'http://snapshots.repository.codehaus.org')
-    }
-
     dependencies {
         testCompile group: 'junit', name: 'junit', version: '4.10'
         testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.0'

Reply via email to