Package Details: ktlint-git 0.49.0.r7.ge62e5698-1

Git Clone URL: https://aur.archlinux.org/ktlint-git.git (read-only, click to copy)
Package Base: ktlint-git
Description: An anti-bikeshedding Kotlin linter with built-in formatter
Upstream URL: https://github.com/pinterest/ktlint
Licenses: MIT
Conflicts: ktlint
Provides: ktlint
Submitter: nycex
Maintainer: nycex
Last Packager: nycex
Votes: 3
Popularity: 0.000000
First Submitted: 2019-07-13 11:23 (UTC)
Last Updated: 2023-04-23 11:04 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

pschichtel commented on 2023-04-23 02:28 (UTC) (edited on 2023-04-23 02:29 (UTC) by pschichtel)

I updated the non-git package of ktlint to build from source, this is the command line I use:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ktlint#n19

--no-daemon to disable the daemon
--no-scan to not unnecessarily upload build scans to gradle
--no-configuration-cache to disable configuration caching which doesn't work with some of it's gradle plugins
-Pktlint.publication.signing.enable=false to disable code signing, since it's useless for this scenario and requires gpg setup to work with gradle (this is supported since 0.49.0)

Minmo commented on 2022-11-24 14:58 (UTC)

This package should conflict with other packages that provide ktlint

woitaschek commented on 2020-03-21 13:26 (UTC)

It doesn't hang, it's just the that the Gradle daemon consumes about 1 gb of RAM and only gets stopped after 3 hours. Usually for one time tasks it's recommended to not use a daemon at all.

nycex commented on 2020-03-21 13:15 (UTC)

Well it's weird that it hangs for you with the daemon, but okay, I'll disable it.

woitaschek commented on 2020-03-20 08:08 (UTC)

Please add a --no-daemon to the gradle command, else the daemon will hang around doing nothing until you reboot the system. @nycex