mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Remove openjdk dependency from ktlint (#4983)
* Remove openjdk dependency from ktlint I'm not certain it's the right solution, but for earlier versions of ktlint at least, I'm pretty sure it depends on earlier versions of java. Additionally, you could also use another jdk like temurin or zulu, so I'm leaning towards not specifying the dependency at all? * Update package.yml * back to depending on openjdk But change the version to '*', as this tool should not decide the openjdk version to use. * remove whitespace
This commit is contained in:
parent
5b598f24cd
commit
712efa0120
1 changed files with 3 additions and 4 deletions
|
@ -8,11 +8,10 @@ warnings:
|
|||
- vendored
|
||||
|
||||
dependencies:
|
||||
openjdk.org: ^20
|
||||
openjdk.org: '*'
|
||||
|
||||
build:
|
||||
- mkdir -p {{prefix}}/bin
|
||||
- cp ktlint-{{version}}/bin/ktlint {{prefix}}/bin/
|
||||
- install -D ktlint-{{version}}/bin/ktlint {{prefix}}/bin/ktlint
|
||||
|
||||
provides:
|
||||
- bin/ktlint
|
||||
|
@ -21,4 +20,4 @@ test:
|
|||
- ktlint --version | grep {{version}}
|
||||
- echo 'fun main( ) {}' > Main.kt
|
||||
- ktlint -F Main.kt
|
||||
- cat Main.kt | grep 'fun main() {}'
|
||||
- cat Main.kt | grep 'fun main() {}'
|
||||
|
|
Loading…
Reference in a new issue