1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-11 17:38:25 +01:00

Added kotlin support

This commit is contained in:
Viktor De Pasquale 2019-04-11 14:49:52 +02:00
parent 8d4c407201
commit ea93013ebc
2 changed files with 15 additions and 4 deletions

View File

@ -1,4 +1,16 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
kapt {
correctErrorTypes = true
useBuildCache = true
mapDiagnosticLocations = true
javacOptions {
option("-Xmaxerrs", 1000)
}
}
android {
defaultConfig {

View File

@ -11,13 +11,12 @@ buildscript {
repositories {
google()
jcenter()
maven {
url 'http://storage.googleapis.com/r8-releases/raw'
}
maven { url 'http://storage.googleapis.com/r8-releases/raw' }
}
dependencies {
classpath 'com.android.tools:r8:1.4.79'
classpath 'com.android.tools.build:gradle:3.5.0-alpha10'
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
// NOTE: Do not place your application dependencies here; they belong