klob
A .gitgnore-pattern-based glob library for Kotlin and/or Java 8+.
Used by/Extracted from ktlint.
Usage
<dependency>
<groupId>com.github.shyiko.klob</groupId>
<artifactId>klob</artifactId>
<version>0.1.0</version>
<!-- omit classifier below if you plan to use this library in koltin -->
<classifier>kalvanized</classifier>
</dependency>
(java)
Path path = Glob.from("src/**/*.kt", "!src/generated")
.iterate(Paths.get("."))/*: Iterator<Path> */.next()
Development
git clone https://github.com/shyiko/klob && cd klob
./mvnw # shows how to build, test, etc. project
Legal
All code, unless specified otherwise, is licensed under the MIT license.
Copyright (c) 2017 Stanley Shyiko.