diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 35bd305a..95d88f54 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -13,34 +13,6 @@ on: - dev jobs: - core: - name: Native Build (Core) - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Fetch Status - run: git submodule status 'library/core/*' > core_status - - name: Core Cache - id: cache - uses: actions/cache@v2 - with: - path: | - app/libs/core-release.aar - key: ${{ hashFiles('core_status') }} - - name: Gradle cache - uses: actions/cache@v2 - if: steps.cache.outputs.cache-hit != 'true' - with: - path: ~/.gradle - key: native-${{ hashFiles('**/*.gradle') }} - - name: Native Build - if: steps.cache.outputs.cache-hit != 'true' - run: | - echo "sdk.dir=${ANDROID_HOME}" > local.properties - echo "ndk.dir=${ANDROID_HOME}/ndk/21.4.7075529" >> local.properties - ./run init action library - ./run lib core v2ray: name: Native Build (V2Ray) runs-on: ubuntu-latest @@ -252,7 +224,6 @@ jobs: name: Gradle Build runs-on: ubuntu-latest needs: - - core - v2ray - shadowsocks - shadowsocksr @@ -261,16 +232,9 @@ jobs: uses: actions/checkout@v2 - name: Fetch Status run: | - git submodule status 'library/core/*' > core_status git submodule status 'library/shadowsocks/*' > shadowsocks_status git submodule status 'library/shadowsocksr/*' > shadowsocksr_status git submodule status library/v2ray > v2ray_status - - name: Core Cache - uses: actions/cache@v2 - with: - path: | - app/libs/core-release.aar - key: ${{ hashFiles('core_status') }} - name: V2Ray Cache uses: actions/cache@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e604709..ca3e1354 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,35 +25,6 @@ jobs: permission: "write" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - core: - name: Native Build (Core) - runs-on: ubuntu-latest - needs: check - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Fetch Status - run: git submodule status 'library/core/*' > core_status - - name: Core Cache - id: cache - uses: actions/cache@v2 - with: - path: | - app/libs/core-release.aar - key: ${{ hashFiles('core_status') }} - - name: Gradle cache - uses: actions/cache@v2 - if: steps.cache.outputs.cache-hit != 'true' - with: - path: ~/.gradle - key: native-${{ hashFiles('**/*.gradle') }} - - name: Native Build - if: steps.cache.outputs.cache-hit != 'true' - run: | - echo "sdk.dir=${ANDROID_HOME}" > local.properties - echo "ndk.dir=${ANDROID_HOME}/ndk/21.4.7075529" >> local.properties - ./run init action library - ./run lib core v2ray: name: Native Build (V2Ray) runs-on: ubuntu-latest @@ -152,7 +123,6 @@ jobs: name: Gradle Build runs-on: ubuntu-latest needs: - - core - v2ray - shadowsocks - shadowsocksr @@ -161,16 +131,9 @@ jobs: uses: actions/checkout@v2 - name: Fetch Status run: | - git submodule status 'library/core/*' > core_status git submodule status 'library/shadowsocks/*' > shadowsocks_status git submodule status 'library/shadowsocksr/*' > shadowsocksr_status git submodule status library/v2ray > v2ray_status - - name: Core Cache - uses: actions/cache@v2 - with: - path: | - app/libs/core-release.aar - key: ${{ hashFiles('core_status') }} - name: V2Ray Cache uses: actions/cache@v2 with: @@ -281,7 +244,6 @@ jobs: if: github.event.inputs.play != 'y' runs-on: ubuntu-latest needs: - - core - v2ray - shadowsocks - shadowsocksr @@ -290,16 +252,9 @@ jobs: uses: actions/checkout@v2 - name: Fetch Status run: | - git submodule status 'library/core/*' > core_status git submodule status 'library/shadowsocks/*' > shadowsocks_status git submodule status 'library/shadowsocksr/*' > shadowsocksr_status git submodule status library/v2ray > v2ray_status - - name: Core Cache - uses: actions/cache@v2 - with: - path: | - app/libs/core-release.aar - key: ${{ hashFiles('core_status') }} - name: V2Ray Cache uses: actions/cache@v2 with: diff --git a/.gitmodules b/.gitmodules index a90d2cb2..a4dc6022 100644 --- a/.gitmodules +++ b/.gitmodules @@ -58,3 +58,9 @@ [submodule "plugin/trojan/src/main/cpp/trojan"] path = plugin/trojan/src/main/cpp/trojan url = https://github.com/trojan-gfw/trojan +[submodule "external/netty"] + path = external/netty + url = https://github.com/netty/netty +[submodule "external/netty-jni-util"] + path = external/netty-jni-util + url = https://github.com/netty/netty-jni-util diff --git a/.idea/gradle.xml b/.idea/gradle.xml index c6670684..1659114b 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -64,6 +64,7 @@