我正在使用License Gradle Plugin生成许可证信息,但我不知道如何将输出指定为最终APK中的任何文件夹。
这是我的设置:
buildscript {
repositories {
jcenter()
maven {
// Source for license-gradle-plugin
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
// Plugin generates single html file with all dependencies' licences
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.12.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: "com.github.hierynomus.license"