!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

119 Members
28 Servers

Load older messages


SenderMessageTime
26 Jun 2021
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:18:14
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgNixOS Moderation Bot.01:22:32
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.01:22:33
29 Jun 2021
@nbathum:matrix.orgnbathum joined the room.00:03:15
30 Jun 2021
@tadfisher:matrix.orgtadfisher joined the room.21:14:06
1 Jul 2021
@heartman:matrix.orgThomas Heartman (he/him) joined the room.09:56:51
5 Jul 2021
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.19:21:33
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels 19:49:36
6 Jul 2021
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels.22:11:43
7 Jul 2021
@fzakaria:matrix.orgfzakaria (Old)hi everyone who joined!03:00:12
@fzakaria:matrix.orgfzakaria (Old)if anyone has experience hacking on Maven itself please reach out. I've been thinking about a proper solution to Nix + Java, I think it needs a large fork of maven.03:00:52
@cybersiddhu:matrix.orgcybersiddhu joined the room.16:29:26
15 Jul 2021
@nbathum:matrix.orgnbathumfzakaria, please excuse this notion if it is not relevant as I'm unfamiliar with the specific constraints of your projects and work. but is it at all possible for you to use gradle?11:43:08
21 Jul 2021
@fzakaria:matrix.orgfzakaria (Old)Not for my current project or onboarding many projects;04:03:03
@fzakaria:matrix.orgfzakaria (Old)Im also happy to start the holy-war argument of Gradle vs Maven04:03:19
@fzakaria:matrix.orgfzakaria (Old)(For how much I dislike the lack of improvement to Maven, I am more in the favor of declarative config)04:03:44
@fzakaria:matrix.orgfzakaria (Old) * (For how much I dislike the lack of improvement to Maven, I am more in the favor of declarative config for dependency management)04:03:55
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
@fzakaria:matrix.orgfzakaria (Old)(beyond just adding your necessary dependencies)21:50:11

Show newer messages


Back to Room ListRoom Version: 6