| 22 Jul 2021 |
nbathum | Oh. Does Gradle get into more non-declarative land? I have only done small prototyping level projects using it. | 15:21:41 |
| evanjs joined the room. | 19:47:01 |
| 23 Jul 2021 |
Gytis Ivaskevicius | I beleive "declarative" is just that you define everything in a config. If thats the case - yeah, it is declarative | 07:07:08 |
Gytis Ivaskevicius | in fact it is similar to Nix in few ways:
- basically does everything, can build pretty much whatever you want
- Uses programming language (either groovy or kotlin, you decide)
- Is capable of bunch of cool integrations
| 07:08:31 |
evanjs | There are also a few options that help with reproducibility—https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives | 12:02:00 |
evanjs | 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 |
evanjs | 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 |
evanjs | Now that I look again, it doesn't seem to appear under org.gradle or com.github | 13:33:29 |
evanjs | I'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 (Old) | I missed the earlier messages; but by declarative I meant a very minimal DSL to define versions. | 21:49:38 |
fzakaria (Old) | Gradle leverages kotlin or Groovy and easily becomes a soup of code. | 21:49:50 |