This commit is contained in:
coco
2026-07-03 15:56:07 +08:00
commit caef23209c
5767 changed files with 1004268 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
/build
+10
View File
@@ -0,0 +1,10 @@
apply from: "../config.gradle"
repositories {
google()
jcenter()
}
dependencies {
implementation "com.android.tools.build:gradle:${rootProject.ext.pluginVer.gradleVersion}"
}
@@ -0,0 +1,15 @@
package com.doyou.plugin
import org.gradle.api.Plugin
import org.gradle.api.Project
class WidgetCase implements Plugin<Project>{
@Override
void apply(Project project) {
def extension = project.extensions.create('widgetcase',WidgetCaseExtension)
project.afterEvaluate {
println "Hi ${extension.keyAlias} ${extension.signPwd} ${extension.keyStoreFileDir}"
extension.widgetCase()
}
}
}
@@ -0,0 +1,19 @@
package com.doyou.plugin
/**
* 插件实际功能逻辑类
* @autor hongbing
* @date 2019-10-11
*/
class WidgetCaseExtension {
void widgetCase() {
println("hello widget case.")
}
// 签名配置信息
String keyAlias = 'widgetcase'
String signPwd = '2019888'
String keyStoreFileDir = '../widgetcase'
}
@@ -0,0 +1,8 @@
package com.doyou.plugin;
/**
* @autor hongbing
* @date 2019-10-11
*/
public class WidgetCaseTransform {
}
@@ -0,0 +1 @@
implementation-class=com.doyou.plugin.WidgetCase