1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 10:33:36 +00:00

Fix doh crash

This commit is contained in:
世界 2021-02-20 21:23:27 +08:00
parent 62f4b4a037
commit c15c13ecc2
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
4 changed files with 17 additions and 7 deletions

View File

@ -43,6 +43,8 @@ jobs:
go-version: ^1.15
- name: Native Build
if: env.CONTINUE
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
./run init action
./run init libs
@ -84,6 +86,8 @@ jobs:
path: ~/.gradle
key: gradle-${{ hashFiles('**/*.gradle') }}
- name: Debug Build
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
export LOCAL_PROPERTIES="${{ secrets.LOCAL_PROPERTIES }}"
export DEBUG_BUILD=true

View File

@ -34,6 +34,8 @@ jobs:
- name: Fix Gradle Memoery
run: sed -i -e "s/16384/6144/g" gradle.properties
- name: Native Build
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
test -f TMessagesProj/libs/libv2ray.aar && exit 0
./run init action

View File

@ -3,13 +3,13 @@ import cn.hutool.core.util.RuntimeUtil
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
def verName = "7.4.2-rc08"
def verName = "7.4.2-rc09"
if (System.getenv("DEBUG_BUILD") == "true") {
verName += "-" + RuntimeUtil.execForStr("git log --pretty=format:'%h' -n 1)")
}
def verCode = 190
def verCode = 192
def officialVer = "7.4.2"
def officialCode = 2227
@ -53,10 +53,14 @@ def crashlyticsVersion = '17.3.1'
def playCoreVersion = '1.9.1'
repositories {
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven {
url "https://maven.pkg.github.com/nekohasekai/dnsjava"
credentials {
username "nekox"
password System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
@ -84,7 +88,7 @@ dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
implementation 'dnsjava:dnsjava:3.3.1'
implementation 'dnsjava:dnsjava:3.4.0-SNAPSHOT'
implementation 'org.dizitart:nitrite:3.4.3'
implementation 'cn.hutool:hutool-core:5.5.8'

View File

@ -1,6 +1,6 @@
#Fri Nov 20 09:53:27 UTC 2020
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME