Replace `setupKotlin` with 'me.proton.kotlin' Gradle plugin

MAILAND-1274
This commit is contained in:
Davide Farella 2020-12-18 14:22:40 +01:00 committed by Tomasz Giszczak
parent 33774f1262
commit 98881fb5db
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,6 @@
* along with ProtonMail. If not, see https://www.gnu.org/licenses/.
*/
import me.proton.core.util.gradle.setupDetekt
import me.proton.core.util.gradle.setupKotlin
buildscript {
initVersions()
@ -26,6 +25,7 @@ buildscript {
}
plugins {
id("me.proton.kotlin") version "0.1" // Released: Oct 09, 2020
id("me.proton.tests") version "0.1" // Released: Oct 09, 2020
`sonarQube`
}
@ -34,7 +34,7 @@ allprojects {
repositories(repos)
}
setupKotlin(
kotlinCompilerArgs(
// Enables new type inference: TODO remove with Kotlin 1.4
"-XXLanguage:+NewInference",
"-Xuse-experimental=kotlin.Experimental",