Skip to content

Instantly share code, notes, and snippets.

@DamianReeves
DamianReeves / build.gradle
Last active April 21, 2022 15:11
Using Scala Compiler Plugins From Gradle
plugins {
id 'scala'
}
configurations {
scalaCompilerPlugin
}
dependencies {
Прикиньте как к с Дру играть в шахматы.
- Это не мат. Даже если это мат, я могу продолжать.
- И что что ты сказал "мат", это оценочное суждение.
- Нет мат это не проигрыш, иначе он бы назывался "проигрыш", а не мат.
- Включи мозг, очевидно, что мат это один из двух состояний игры "Шах" и "Мат".
- Мат это просто очень серьезный шах.
- Да завершился взятием короля. И что?
- Ты просто убил моего короля, причем тут проигрыш?
- Нет не проиграл, я просто пожертвовал фигуру.
@dcsobral
dcsobral / README.md
Created April 15, 2020 23:40
Scala Configurable Warnings

Pull request #8373 implementing issue 333 (but please note differences).

Pull request description follows:

This PR adds a -Wconf compiler flag that allows filtering and configuring compiler warnings (silence them, or turn them into errors).

It also integrates the fantastic silencer compiler plugin by @ghik into the compiler, which allows suppressing warnings locally using the @nowarn annotation.