!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

137 Members
29 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 Jul 2021
@nbathum:matrix.orgnbathumOh. Does Gradle get into more non-declarative land? I have only done small prototyping level projects using it.15:21:41
@evanjsx:matrix.orgevanjs joined the room.19:47:01
23 Jul 2021
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusI beleive "declarative" is just that you define everything in a config. If thats the case - yeah, it is declarative07:07:08
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius

in fact it is similar to Nix in few ways:

  1. basically does everything, can build pretty much whatever you want
  2. Uses programming language (either groovy or kotlin, you decide)
  3. Is capable of bunch of cool integrations
07:08:31
@evanjsx:matrix.orgevanjsThere are also a few options that help with reproducibility—https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives12:02:00
@evanjsx:matrix.orgevanjs

Having some issues with gradle2nix and dependencies...
It seems like it can't find shadow, and indeed, the repositories it lists do not seem to contain the artifact
Trying to figure out why it isn't in said repositories, though, as it does seem to appear in gradle-env.json, etc.

Context: https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$TwUthCPshVm5l5TL_tN-gCqhasrkOY7kWL-r_TpjSTA?via=nixos.org&via=matrix.org&via=tchncs.de

13:32:03
@evanjsx:matrix.orgevanjs

And the content of the actual error message:

org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.github.johnrengelman.shadow', version: '7.0.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)                                                                                               
- Plugin Repositories (could not resolve plugin artifact 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0')               
13:32:34
@evanjsx:matrix.orgevanjs Now that I look again, it doesn't seem to appear under org.gradle or com.github 13:33:29
@evanjsx:matrix.orgevanjsI'm deferring to just plain gradle with build cache enabled for the CI for now That alone seems to be a substantial improvement compared to the previous maven build w/o any caching or etc.16:33:31
Room Avatar Renderer.23:22:13
28 Jul 2021
@fzakaria:matrix.orgfzakaria (Old)I missed the earlier messages; but by declarative I meant a very minimal DSL to define versions.21:49:38
@fzakaria:matrix.orgfzakaria (Old)Gradle leverages kotlin or Groovy and easily becomes a soup of code.21:49:50

Show newer messages


Back to Room ListRoom Version: 6