Skip to content

Commit

Permalink
降低kotlin依赖至1.4.32
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongshan committed Feb 14, 2022
1 parent ad5f35a commit ac9e96e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[![license](http://img.shields.io/badge/license-BSD3-brightgreen.svg?style=flat)](https://github.com/Tencent/VasDolly/blob/master/LICENSE)
[![Release Version](https://img.shields.io/badge/release-3.0.3-red.svg)](https://github.com/Tencent/VasDolly/releases)
[![Release Version](https://img.shields.io/badge/release-3.0.4-red.svg)](https://github.com/Tencent/VasDolly/releases)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Tencent/VasDolly/pulls)
[![wiki](https://img.shields.io/badge/Wiki-open-brightgreen.svg)](https://github.com/Tencent/VasDolly/wiki)
---


# 简介
VasDolly是一种快速多渠道打包工具,同时支持基于V1签名和V2签名进行多渠道打包。插件本身会自动检测Apk使用的签名类别,并选择合适的多渠道打包方式,对使用者来说完全透明。
`V3.0.3`版本已支持Android Gradle Plugin 4.2.0以上版本,欢迎使用!
`V3.0.4`版本已支持Android Gradle Plugin 4.2.0以上版本,欢迎使用!

目前Gradle Plugin 2.2以上默认开启V2签名,所以如果想关闭V2签名,可将下面的v2SigningEnabled设置为false。
关于应用签名说明:[见官方文档](https://source.android.com/security/apksigning)
Expand All @@ -34,7 +34,7 @@ signingConfigs {
``` groovy
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.tencent.vasdolly:plugin:3.0.3'
classpath 'com.tencent.vasdolly:plugin:3.0.4'
}
```
## 引用VasDolly Plugin
Expand All @@ -46,7 +46,7 @@ apply plugin: 'com.tencent.vasdolly'
在主App工程的`build.gradle`中,添加读取渠道信息的helper类库依赖:
``` groovy
dependencies {
   api 'com.tencent.vasdolly:helper:3.0.3'
   api 'com.tencent.vasdolly:helper:3.0.4'
}
```
## 配置渠道列表
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
google()
}
dependencies {
classpath "com.tencent.vasdolly:plugin:3.0.3"
classpath "com.tencent.vasdolly:plugin:3.0.4"
}
}

Expand Down Expand Up @@ -102,5 +102,5 @@ dependencies {

api 'androidx.appcompat:appcompat:1.4.0'
//api:同老版本compile作用一样,即本module将会向外暴露其依赖的module变化,即若'helper'库发生了改变,那么本module以及所有依赖于本module的module都要重新编译
api "com.tencent.vasdolly:helper:3.0.3"
api "com.tencent.vasdolly:helper:3.0.4"
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ext {

//VasDolly插件版本信息
GROUP = 'com.tencent.vasdolly'
VERSION = '3.0.3'
VERSION = '3.0.4'
}

buildscript {
Expand Down
Binary file modified command/jar/VasDolly.jar
Binary file not shown.
7 changes: 3 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## Project-wide Gradle settings.
#
# For more details on how to configure your build environment visit
## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
Expand All @@ -12,6 +10,7 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Sat Feb 24 16:43:37 CST 2018
#Wed Jan 05 18:08:55 CST 2022
channel_file=channel.txt
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
android.useAndroidX=true
1 change: 1 addition & 0 deletions maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ afterEvaluate {
}

//发布仓库
//仓库地址:https://repo.maven.apache.org/maven2/com/tencent/vasdolly/
repositories {
maven {
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
Expand Down
4 changes: 2 additions & 2 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id "java-gradle-plugin"
id 'org.jetbrains.kotlin.jvm' version "1.6.0"
id 'org.jetbrains.kotlin.jvm' version "1.4.32"
}
apply from: rootProject.file("maven.gradle")

Expand All @@ -10,7 +10,7 @@ dependencies {
api project(':writer')
api project(':reader')
api project(':verify')
implementation gradleApi()
//implementation gradleApi()
compileOnly "com.android.tools.build:gradle:7.0.2"
}

Expand Down

0 comments on commit ac9e96e

Please sign in to comment.