Closed Bug 1182836 Opened 9 years ago Closed 9 years ago

error ./mach gradle build

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1180605

People

(Reporter: Mailkov, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150125222008

Steps to reproduce:

execute command 
   ./mach gradle build


Actual results:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'gradle'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find com.squareup.spoon:spoon-runner:1.1.10-SNAPSHOT.
     Searched in the following locations:
         https://jcenter.bintray.com/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/maven-metadata.xml
         https://jcenter.bintray.com/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/spoon-runner-1.1.10-SNAPSHOT.pom
         https://jcenter.bintray.com/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/spoon-runner-1.1.10-SNAPSHOT.jar
         file:/home/mailkov/mozilla-central/mobile/android/gradle/m2repo/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/maven-metadata.xml
         file:/home/mailkov/mozilla-central/mobile/android/gradle/m2repo/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/spoon-runner-1.1.10-SNAPSHOT.pom
         file:/home/mailkov/mozilla-central/mobile/android/gradle/m2repo/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/spoon-runner-1.1.10-SNAPSHOT.jar
         https://oss.sonatype.org/content/repositories/snapshots/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/maven-metadata.xml
         https://oss.sonatype.org/content/repositories/snapshots/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/spoon-runner-1.1.10-SNAPSHOT.pom
         https://oss.sonatype.org/content/repositories/snapshots/com/squareup/spoon/spoon-runner/1.1.10-SNAPSHOT/spoon-runner-1.1.10-SNAPSHOT.jar
     Required by:
         :gradle:unspecified > com.stanfy.spoon:spoon-gradle-plugin:1.0.3-SNAPSHOT



Expected results:

BUILD SUCCESSFUL
I found a solution that fix the bug

change on /mozilla-central/obj-arm-linux-androideabi/mobile/android/gradle/build.gradle

line : classpath('com.stanfy.spoon:spoon-gradle-plugin:1.0.3-SNAPSHOT') {
whith: classpath('com.stanfy.spoon:spoon-gradle-plugin:1.0.3') {
Component: Untriaged → General
Product: Firefox → Firefox for Android
Version: 35 Branch → Firefox 35
Version: Firefox 35 → unspecified
Component: General → Build Config & IDE Support
Attachment #8632537 - Flags: review?(nalexander)
Attachment #8632537 - Flags: a11y-review?
Attachment #8632537 - Flags: a11y-review?
Good catch, but I think this is a duplicate of Bug 1180605.  Can you make sure you have that commit in your tree, build and try |mach gradle build| again?  Re-open if you need.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Attachment #8632537 - Flags: review?(nalexander)
Product: Firefox for Android → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: