Closed ZacSweers closed 5 years ago
Hello @ZacSweers !
syntax-highlight
module uses prism4j
library that uses annotations-java5
library... I'm trying to add an explicit prism4j
dependency and exclude annotations, but... with no effect
implementation('io.noties:prism4j:2.0.0') {
exclude group: 'org.jetbrains', module: 'annotations-java5'
}
I need to investigate this further
Ah good to know, thanks
On Tue, Jul 2, 2019, 1:00 PM Dimitry notifications@github.com wrote:
Hello @ZacSweers https://github.com/ZacSweers !
syntax-highlight module uses prism4j library that uses annotations-java5 library... I'm trying to add an explicit prism4j dependency and exclude annotations, but... with no effect
implementation('io.noties:prism4j:2.0.0') { exclude group: 'org.jetbrains', module: 'annotations-java5' }
I need to investigate this further
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/noties/Markwon/issues/148?email_source=notifications&email_token=AAKMJPWCCEOBCIXUD7TQ7WTP5OCT3A5CNFSM4H45YFW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZB5PSY#issuecomment-507762635, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKMJPWZQJ4EC36EZQDEOITP5OCT3ANCNFSM4H45YFWQ .
Okay, this one works (it will exclude annotations-java5
from all dependencies, which is what you would want anyway):
configurations.all {
exclude group: 'org.jetbrains', module: 'annotations-java5'
}
Updating to 4.x yields the following trace
Repro branch here: https://github.com/ZacSweers/CatchUp/tree/z/markwon4. Just run
./gradlew :app:assembleDebug