Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8678

Packaging issue on gradle's library dependency

From Roger Shimizu <rogershimizu@gmail.com>
Newsgroups linux.debian.maint.java
Subject Packaging issue on gradle's library dependency
Date 2015-12-19 17:10 +0100
Message-ID <qHsf0-5oW-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Dear Java Team,

I'm in the progress of packaging a java program, smali. [0]
I met some problems, usually these should go to mentors list for help.
But it's quite java related, so here it is.

I cloned original repo from github, added the debian/ folder, and used
it's original gradle configuration to build. But it failed.
I already push it to my github in "pkg-smali" branch. [1]

the log looked like this:
==========================
Compiling build file '/home/roger/smali/baksmali/build.gradle' using
SubsetScriptTransformer.
    Replacing proguard:gradle:jar:5.2.1  ->  proguard:gradle:jar:debian

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':baksmali'.
> Could not resolve all dependencies for configuration ':baksmali:classpath'.
==========================
(full log is also enclosed)

I already installed proguard package by apt, also confirmed there's jar file:
- /usr/share/java/proguard.jar
inside this jar, there's "proguard/gradle/" folder.

So I don't know what's the problem.
I guess that maybe gradle need the "pom" file for the library, which
is lack of for proguard package.

Am I right? If so, do I need to submit a bugreport to proguard?

Sorry I'm a newbie of java packaging.
Please keep me in CC list when reply. Thank you!

BTW. Here's the command I tried to build:
  git clone https://github.com/rogers0/smali
  git checkout -b pkg-smali origin/pkg-smali
  gbp buildpackage -us -uc --git-verbose --git-ignore-branch 2>&1 |
tee ../log.txt

[0]: https://bugs.debian.org/808397
[1]: https://github.com/rogers0/smali/tree/pkg-smali

Cheers,
Roger

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

Packaging issue on gradle's library dependency Roger Shimizu <rogershimizu@gmail.com> - 2015-12-19 17:10 +0100
  Re: Packaging issue on gradle's library dependency 殷啟聰 <seamlikok@gmail.com> - 2015-12-19 18:30 +0100
    Re: Packaging issue on gradle's library dependency Roger Shimizu <rogershimizu@gmail.com> - 2015-12-21 15:40 +0100
      Re: Packaging issue on gradle's library dependency 殷啟聰 <seamlikok@gmail.com> - 2015-12-21 16:10 +0100

csiph-web