[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libspring-java using gradle



Le 10/10/2013 15:30, Stephen Nelson a écrit :
> I'm looking at packaging a new upstream version of libspring-java.
> However upstream has switched to using gradle to build the code. What
> is the correct way to package for Debian in this instance?

Not sure, but I think you have to patch the build files to use the
Debian versions of the artifacts and ensure the artifacts are taken from
the Debian repository and not downloaded from Maven Central. The
--offline flag will help, and I think you can force Gradle to use the
Debian repository by adding this to build.gradle:

repositories {
    maven {
        url "/usr/share/maven-repo"
    }
}

Good luck, you are a pioneer :) There are only 2 packages built with
Gradle: gradle itself and multiverse-core.

Emmanuel Bourg


Reply to: