mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-11-16 05:06:12 +01:00
喵 ~
This commit is contained in:
parent
e346a316e9
commit
31bb3d390d
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -30,7 +30,6 @@ jobs:
|
||||
sudo bash <<EOF
|
||||
|
||||
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
|
||||
export GPG_KEY="${{ secrets.GPG_KEY }}"
|
||||
|
||||
mkdir apks; find . -name "*.apk" -exec mv {} apks \;
|
||||
|
||||
@ -39,9 +38,9 @@ jobs:
|
||||
|
||||
cd apks
|
||||
|
||||
gpg --import <<EOF
|
||||
$GPG_KEY
|
||||
EOF
|
||||
gpg --import <<EOF_B
|
||||
${{ secrets.GPG_KEY }}
|
||||
EOF_B
|
||||
|
||||
echo "DA55ACBFDDA40853BFC5496ECD109927C34A63C4" > $HOME/.gnupg/sshcontrol
|
||||
|
||||
@ -55,7 +54,6 @@ jobs:
|
||||
|
||||
git init
|
||||
|
||||
git remote add github git@github.com:NekogramX/NekoX-Resources.git
|
||||
git remote add gitlab git@gitlab.com:NekohaSekai/nekox-resources.git
|
||||
git remote add gitee git@gitee.com:nekoshizuku/nekox-resources.git
|
||||
|
||||
|
@ -50,7 +50,7 @@ To compile the foss version, please refer to [this script](.github/workflows/fos
|
||||
|
||||
Available variant list:
|
||||
|
||||
`Afat`, `Legacy`, `MinApi21`
|
||||
`Afat`, `MinApi21`
|
||||
|
||||
|
||||
## Localization
|
||||
|
@ -30,6 +30,8 @@ dependencies {
|
||||
implementation "com.squareup.okhttp3:okhttp-dnsoverhttps:$okHttpVersion"
|
||||
|
||||
implementation files('libs/libv2ray.aar')
|
||||
implementation files('libs/ss-libev-release.aar')
|
||||
implementation files('libs/ssr-libev-release.aar')
|
||||
|
||||
releaseImplementation 'com.google.firebase:firebase-messaging:20.1.3'
|
||||
releaseImplementation 'com.google.firebase:firebase-crashlytics:17.0.0-beta02'
|
||||
@ -205,33 +207,11 @@ android {
|
||||
}
|
||||
multiDexEnabled true
|
||||
manifestPlaceholders = [applicationClassName: "MultiDexApplicationLoader"]
|
||||
dependencies {
|
||||
//implementation project(path: ':ss-libev', configuration: 'default')
|
||||
implementation files('libs/ss-libev-release.aar')
|
||||
implementation files('libs/ssr-libev-release.aar')
|
||||
}
|
||||
}
|
||||
|
||||
legacy {
|
||||
versionNameSuffix '-legacy'
|
||||
sourceSets.main {
|
||||
java.srcDirs = ['src/main/java', 'src/multidex/java']
|
||||
}
|
||||
dependencies {
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
}
|
||||
multiDexEnabled true
|
||||
manifestPlaceholders = [applicationClassName: "MultiDexApplicationLoader"]
|
||||
}
|
||||
|
||||
minApi21 {
|
||||
minSdkVersion 21
|
||||
versionNameSuffix '-minApi21'
|
||||
dependencies {
|
||||
//implementation project(path: ':ss-libev', configuration: 'default')
|
||||
implementation files('libs/ss-libev-release.aar')
|
||||
implementation files('libs/ssr-libev-release.aar')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user