added kotlin plugin for successfull compilation

This commit is contained in:
Ilshat Safiullin 2018-10-04 22:01:08 +05:00
parent 7a2f0154fb
commit 3e3daf6c0c
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 28
@ -45,4 +46,6 @@ dependencies {
implementation 'com.android.support:appcompat-v7:28+'
implementation project(':SalmonEngineAndroid')
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

View File

@ -1,6 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.70'
repositories {
jcenter()
google()
@ -8,6 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-alpha18'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files