JDK版本
gradle版本
android-gradle-plugin版本
kotlin-gradle-plugin版本
flutter-gradle-plugin版本
JDK版本指定的位置:
android {
namespace "com.novice.flutter_image_processing_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
1、gradle插件版本配置位置:
project对应的build.gradle文件中
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
}
}
2、gradle版本配置位置:
gradle-wrapper.properties 中
distributionUrl=services.gradle.org/distributio…
Kotlin和gradle版本对照
gradle和gradle plugin版本对照