cn.yerl.gradle.plugin.AndroidConfigPlugin.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-config-plugin Show documentation
Show all versions of android-config-plugin Show documentation
Provide default config for android
package cn.yerl.gradle.plugin
import org.gradle.api.Plugin
import org.gradle.api.Project
/**
* 统一设置Android的编译、包版本等
* Created by alan on 2016/11/1.
*/
class AndroidConfigPlugin implements Plugin {
@Override
void apply(Project project) {
project.ext["compileSdkVersion"] = 23
project.ext["buildToolsVersion"] = "25.0.0"
project.ext["minSdkVersion"] = 17
project.ext["targetSdkVersion"] = 23
project.ext["supportVersion"] = "25.0.0"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy