#757386 cdbs: Gradle support

Package:
cdbs
Source:
cdbs
Submitter:
Emmanuel Bourg
Date:
2025-08-03 13:37:02 UTC
Severity:
wishlist
Tags:
#757386#5
Date:
2014-08-07 15:38:07 UTC
From:
To:
Hi,

Gradle [1] is a build tool increasingly used by Java projects, but CDBS
doesn't support it yet. I implemented the Gradle support by deriving the
.mk files for Ant:

https://github.com/ebourg/cdbs/commit/0e15474

The following variables are available to tweak the build:

  GRADLE_ARGS
  DEB_GRADLE_BUILD_TASK
  DEB_GRADLE_INSTALL_TASK
  DEB_GRADLE_CHECK_TASK
  DEB_GRADLE_CLEAN_TASK
  DEB_GRADLE_BUILDFILE
  DEB_GRADLE_PROPERTYFILE

Could you please consider merging this patch?

Thank you,

Emmanuel Bourg

[1] http://www.gradle.org

#757386#10
Date:
2014-08-07 17:59:01 UTC
From:
To:
This is awesome.

Do you have a package already to test this patch with CDBS?

#757386#15
Date:
2014-08-07 18:37:22 UTC
From:
To:
Le 07/08/2014 19:59, Miguel Landaeta a écrit :

I tested it on bouncycastle 1.51 and it worked fine. However I had to
revert the changes because the Gradle build doesn't create the same
artifacts as the Ant build, I guess the upstream developers are still
experimenting will Gradle.