# Gradle2nix V2: Call for testers

**URL:** https://discourse.nixos.org/t/gradle2nix-v2-call-for-testers/46199
**Category:** Announcements
**Created:** [May 30, 2024, 1:34am UTC](https://discourse.nixos.org/t/gradle2nix-v2-call-for-testers/46199 "2024-05-30T01:34:23Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![numinit](https://discourse.nixos.org/user_avatar/discourse.nixos.org/numinit/32/2313_2.png) [@numinit](https://discourse.nixos.org/u/numinit)
#### Post date: [September 5, 2024, 9:30am UTC](https://discourse.nixos.org/t/gradle2nix-v2-call-for-testers/46199/21 "2024-09-05T09:30:20Z")

</div>

OK, I’ve got something I’d like to contribute, I’m just wondering how to go about it now…

It would be extremely useful if there were a mode I could put normal gradle2nix builds in where I could set `__sandbox = false;` and the plugin would run through the tasks I specify in the derivation as if I were running the `gradle2nix` command. Full internet connectivity and so on, but the lockfile can also be a build artifact.

I’m hoping to run something like that in CI. If one of our developers makes a change that touches dependencies and sets the correct option on their test build, it will generate the lockfile for them, automating a bunch of toil.

Any initial thoughts @tad?

---

<div class="post-metadata">

### Author: ![misc](https://discourse.nixos.org/user_avatar/discourse.nixos.org/misc/32/29022_2.png) [@misc](https://discourse.nixos.org/u/misc)
#### Post date: [October 26, 2024, 9:35pm UTC](https://discourse.nixos.org/t/gradle2nix-v2-call-for-testers/46199/22 "2024-10-26T21:35:41Z")

</div>

This looks great although unfortunately doesn’t quite work for the gradle package I’m trying to build. It has a custom ivy repository and it doesn’t find the artifact, even if I specifically build the subpackage that references it and it gets included in the `gradle.lock` file. I guess I could try to create a simple test to replicate this if that’s any help.

```auto
    def ethExecSpecTestsRepo = ivy {
      url 'https://github.com'
      patternLayout {
        artifact '/[organisation]/[module]/releases/download/v[revision]/[classifier].[ext]'
      }
      metadataSources {
        artifact()
      }
    }
    exclusiveContent {
      forRepositories(ethExecSpecTestsRepo)
      filter { includeModule('ethereum', 'execution-spec-tests')}
    }

```

[Previous page](https://discourse.nixos.org/t/gradle2nix-v2-call-for-testers/46199.md?page=1)
