Skip to content

Commit

Permalink
插件更新1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Peakmain committed Apr 15, 2022
1 parent 483593e commit 48b62f1
Show file tree
Hide file tree
Showing 21 changed files with 22 additions and 39 deletions.
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
plugins {
id 'maven-publish'
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.16.0'
id 'com.gradle.plugin-publish' version '0.18.0'
}
apply plugin: 'groovy'
apply plugin: 'maven'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,13 @@ class MonitorTransform extends Transform {
* @param outputProvider 输出路径
*/
void _transform(Context context, Collection<TransformInput> inputs, TransformOutputProvider outputProvider) throws IOException, TransformException, InterruptedException {
//println(monitorConfig.toString())
println(monitorConfig.toString())
long startTime = System.currentTimeMillis()
if (!incremental) {
//不是增量更新删除所有的outputProvider
outputProvider.deleteAll()
}

inputs.each { TransformInput input ->
//遍历目录
input.directoryInputs.each { DirectoryInput directoryInput ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.peakmain.analytics.plugin.utils
import org.objectweb.asm.Opcodes

class MethodFieldUtils {
public static final String PLUGIN_VERSION = "1.0.6"
enum StatusEnum {
METHOD_STATE_NORMAL(1),
METHOD_STATE_CLEAR(2),
Expand All @@ -18,6 +19,7 @@ class MethodFieldUtils {
}
}


public static final String LOG_MANAGER = "com/peakmain/sdk/utils/LogManager"
public static final String NEW_METHOD_OWNER = "com/peakmain/sdk/utils/ReplaceMethodUtils"
public static final int STATIC_OPCODE = Opcodes.INVOKESTATIC
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package com.peakmain.analytics.plugin.utils.log

import com.peakmain.analytics.plugin.utils.MethodFieldUtils

/***
* .::::.
* .::::::::.
Expand All @@ -20,7 +23,7 @@ package com.peakmain.analytics.plugin.utils.log
* '.:::::' ':'````..
*/
class Logger {
private static final String VERSION = "1.0.1"
private static final String VERSION = MethodFieldUtils.PLUGIN_VERSION
private static boolean debug = false

static void printPluginStart() {
Expand Down
22 changes: 2 additions & 20 deletions plugin/upload.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

version = '1.0.2'
version = '1.0.6'
group = 'io.github.peakmain'
gradlePlugin {
plugins {
Expand All @@ -20,25 +20,7 @@ pluginBundle {
peakmainPlugin {
// id is captured from java-gradle-plugin configuration
displayName = 'com.peakmain.plugin'
tags = ['individual', 'tags', 'per', 'plugin']
tags = ['android', 'asm', 'plugin']
}
}
}
/*
uploadArchives {
repositories.mavenDeployer {
//本地仓库路径,以放到项目根目录下的 repo 的文件夹为例
repository(url: uri('../repo'))
//groupId
pom.groupId = 'com.peakmain'
//artifactId
pom.artifactId = 'android.plugin'
//插件版本号
pom.version = '1.0.0'
}
}
*/
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
98a76f71cfbd014b1b5c2db2a093c286
3038f0d6e477fea4c3ff4a81ba35a5d4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0d4f2cd8db7e7bbee196ec439f21d0610fec062c
093a48b4e6f3adaa9570d6f811035b97d5f2e373
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e9a83ea723357bf8461e57f7374f472b
d868b08a79e10222df4e2c05678cb590
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a9c903872671c8c6bc1a9d6b6f720bc405497e03
960127ae393bf7a095e32e515ce9af7c5b04e9ef
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f9587df836d7b622169b632f45499fd9
43f3dd92d16e447e8276b887c9057ef8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c6a5daba7c835acd655a6daaf2e9c6c184e098b1
ad21229a92926b8bc876e5696c4e188b1f8b750d
Binary file modified repo/com/peakmain/android.plugin/1.0.0/android.plugin-1.0.0.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0774ae771475ad24db4a2512f540dd60
b0226d3b450fa38a92d018d037382516
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b92d6e81031d928e6357603709c5f1ae6140d010
95f555e2954256301f89be7aab3b466fa5baac9a
2 changes: 1 addition & 1 deletion repo/com/peakmain/android.plugin/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<versions>
<version>1.0.0</version>
</versions>
<lastUpdated>20220415014034</lastUpdated>
<lastUpdated>20220415034510</lastUpdated>
</versioning>
</metadata>
2 changes: 1 addition & 1 deletion repo/com/peakmain/android.plugin/maven-metadata.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b01c3ebc726f241f063e1ec115f92b86
ed81f61304e3a466b0478d2d3a1f8a4e
2 changes: 1 addition & 1 deletion repo/com/peakmain/android.plugin/maven-metadata.xml.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e4ca23a01d29eb68964d65c929a715bbafebd8b1
30dcff78dbd83b3badd1df95afe0f8c1e1bf3008

0 comments on commit 48b62f1

Please sign in to comment.