https://kotlinlang.org logo
Title
a

Allan Wang

01/06/2019, 3:35 AM
When using
assembleDebug
, warning outputs like the following get outputted:
:mediapicker:compileDebugKotlin
w: .../src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt: (169, 17): 'getter for supportLoaderManager: LoaderManager!' is deprecated. Deprecated in Java
:mediapicker:prepareLintJar UP-TO-DATE
Is there any gradle command that just gets the warnings without all the other output? These warnings aren’t present in
lintRelease
g

gildor

01/06/2019, 12:58 PM
This is a warning from Kotlin compiler, not from lint
t

tapchicoma

01/06/2019, 2:32 PM
though you can set to treat warnings as errors and fail the build