赞
踩
buildscript {
ext.kotlin_version = '1.2.71'
repositories {
google()
jcenter()
}
dependencies {
//classpath 'com.android.tools.build:gradle:3.1.0-alpha09'
classpath 'com.android.tools.build:gradle:3.2.1'
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
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
....
}
标签:java,plugin,kotlin,gradle,apply,Android,com,android
来源: https://www.cnblogs.com/Oldz/p/10345031.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。