com.flyjingfish.android_aop_plugin.utils.AndroidConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-aop-plugin Show documentation
Show all versions of android-aop-plugin Show documentation
Lightweight Aop for Android platform, you deserve it, action is worse than your heartbeat
package com.flyjingfish.android_aop_plugin.utils
import com.android.build.gradle.BaseExtension
import org.gradle.api.Project
import java.io.File
/**
* Android相关配置
*/
class AndroidConfig(project: Project) {
private val android: BaseExtension = project.extensions.getByName("android") as BaseExtension
/**
* Return boot classpath.
* @return Collection of classes.
*/
fun getBootClasspath(): List {
return android.bootClasspath
}
}