Update dependencies

This commit is contained in:
世界
2021-12-10 16:21:58 +08:00
parent d471c0c4b2
commit 5f6fb3c6eb
12 changed files with 26 additions and 24 deletions

View File

@@ -32,7 +32,7 @@ jobs:
uses: actions/setup-go@v2
if: steps.cache.outputs.cache-hit != 'true'
with:
go-version: 1.17.3
go-version: 1.17.5
- name: Native Build
if: steps.cache.outputs.cache-hit != 'true'
run: ./run lib core
@@ -180,7 +180,7 @@ jobs:
uses: actions/setup-go@v2
if: steps.cache.outputs.cache-hit != 'true'
with:
go-version: 1.17.2
go-version: 1.17.5
- name: Native Build
if: steps.cache.outputs.cache-hit != 'true'
run: ./run plugin hysteria

View File

@@ -45,7 +45,7 @@ jobs:
uses: actions/setup-go@v2
if: steps.cache.outputs.cache-hit != 'true'
with:
go-version: 1.17.3
go-version: 1.17.5
- name: Gradle cache
uses: actions/cache@v2
if: steps.cache.outputs.cache-hit != 'true'

4
.idea/gradle.xml generated
View File

@@ -37,11 +37,9 @@
</compositeBuild>
</compositeConfiguration>
<option name="testRunner" value="GRADLE" />
<option name="disableWrapperSourceDistributionNotification" value="true" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$USER_HOME$/.gradle/wrapper/dists/gradle-6.8.3-bin/7ykxq50lst7lb7wx1nijpicxn/gradle-6.8.3" />
<option name="gradleJvm" value="Android Studio default JDK" />
<option name="gradleJvm" value="11" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />

View File

@@ -29,6 +29,8 @@ android {
dependencies {
val hutoolVersion = rootProject.extra["hutoolVersion"].toString()
implementation(fileTree("libs"))
compileOnly(project(":library:stub"))
implementation(project(":library:include"))
@@ -52,10 +54,10 @@ dependencies {
implementation(project(":external:preferencex:preferencex-colorpicker"))
implementation("com.google.android.material:material:1.4.0")
implementation("cn.hutool:hutool-core:5.7.16")
implementation("cn.hutool:hutool-cache:5.7.16")
implementation("cn.hutool:hutool-json:5.7.16")
implementation("cn.hutool:hutool-crypto:5.7.16")
implementation("cn.hutool:hutool-core:$hutoolVersion")
implementation("cn.hutool:hutool-cache:$hutoolVersion")
implementation("cn.hutool:hutool-json:$hutoolVersion")
implementation("cn.hutool:hutool-crypto:$hutoolVersion")
implementation("com.google.code.gson:gson:2.8.9")
implementation("com.google.zxing:core:3.4.1")
@@ -65,7 +67,7 @@ dependencies {
implementation("org.yaml:snakeyaml:1.29")
implementation("com.github.daniel-stoneuk:material-about-library:3.2.0-rc01")
implementation("com.mikepenz:aboutlibraries:8.9.3")
implementation("com.mikepenz:aboutlibraries:8.9.4")
implementation("com.jakewharton:process-phoenix:2.1.2")
implementation("com.esotericsoftware:kryo:5.2.0")
implementation("org.conscrypt:conscrypt-android:2.5.2")

View File

@@ -6,7 +6,7 @@ allprojects {
apply(plugin = "com.github.ben-manes.versions")
tasks.named<DependencyUpdatesTask>("dependencyUpdates") {
val regex = listOf(
"alpha", "beta", "rc", "cr", "m", "preview", "b", "ea"
"alpha", "beta", "rc", "cr", "m", "preview","a", "b", "ea", "jre"
).map { qualifier -> Regex("(?i).*[.-]$qualifier[.\\d-+]*") }
resolutionStrategy {
componentSelection {
@@ -44,8 +44,6 @@ subprojects {
}
tasks.named<Wrapper>("wrapper") {
distributionType = Wrapper.DistributionType.ALL
doLast {
val sha256 = java.net.URL("$distributionUrl.sha256")
.openStream()

View File

@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.5.30"
kotlin("jvm") version "1.5.31"
`java-gradle-plugin`
`kotlin-dsl`
}
@@ -9,11 +9,12 @@ apply(from = "../repositories.gradle.kts")
dependencies {
val androidPluginVersion = rootProject.extra["androidPluginVersion"].toString()
val kotlinVersion = rootProject.extra["kotlinVersion"].toString()
val hutoolVersion = rootProject.extra["hutoolVersion"].toString()
implementation("com.android.tools.build:gradle:$androidPluginVersion")
implementation("com.android.tools.build:gradle-api:$androidPluginVersion")
implementation(kotlin("gradle-plugin", kotlinVersion))
implementation(kotlin("stdlib"))
implementation("cn.hutool:hutool-crypto:5.7.16")
implementation(kotlin("stdlib", kotlinVersion))
implementation("cn.hutool:hutool-crypto:$hutoolVersion")
implementation("org.tukaani:xz:1.9")
implementation("com.github.triplet.gradle:play-publisher:3.6.0")
implementation("org.kohsuke:github-api:1.131")

View File

@@ -512,6 +512,8 @@ fun Project.setupApp() {
}
dependencies {
add("implementation", kotlin("stdlib", "${rootProject.extra["kotlinVersion"]}"))
add("implementation", project(":plugin:api"))
add("testImplementation", "junit:junit:4.13.2")
add("androidTestImplementation", "androidx.test.ext:junit:1.1.3")

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=00b273629df4ce46e68df232161d5a7c4e495b9a029ce6e0420f071e21316867
distributionSha256Sum=9afb3ca688fc12c761a0e9e4321e4d24e977a4a8916c8a768b1fe05ddb4d6b66

View File

@@ -1,6 +1,7 @@
rootProject.extra.apply {
set("androidPluginVersion", "7.0.3")
set("androidPluginVersion", "7.0.4")
set("kotlinVersion", "1.5.31")
set("hutoolVersion", "5.7.17")
}
repositories {

View File

@@ -1,6 +1,6 @@
PACKAGE_NAME=io.nekohasekai.sagernet
VERSION_NAME=0.6-beta10
VERSION_CODE=128
VERSION_NAME=0.6-beta11
VERSION_CODE=129
NAIVE_VERSION_NAME=96.0.4664.45-1
NAIVE_VERSION=9