diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index d63d372..f0c54e9 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -27,6 +27,29 @@ jobs: - name: Build Unsigned Release APK with Gradle run: bash ./gradlew assembleRelease --stacktrace + - name: Get apk path + id: apk-path + run: echo "path=$(find . -regex '^.*/build/outputs/apk/.*\.apk$' -type f | head -1)" >> $GITHUB_OUTPUT + - name: Get apk info + id: apk-info + uses: hkusu/apk-info-action@v1 + with: + apk-path: ${{ steps.apk-path.outputs.path }} + - name: Show apk info + run: | + echo '${{ steps.apk-info.outputs.application-name }}' + echo '${{ steps.apk-info.outputs.application-id }}' + echo '${{ steps.apk-info.outputs.version-code }}' + echo '${{ steps.apk-info.outputs.version-name }}' + echo '${{ steps.apk-info.outputs.min-sdk-version }}' + echo '${{ steps.apk-info.outputs.target-sdk-version }}' + echo '${{ steps.apk-info.outputs.compile-sdk-version }}' + echo '${{ steps.apk-info.outputs.uses-permissions }}' + echo '${{ steps.apk-info.outputs.debuggable }}' + echo '${{ steps.apk-info.outputs.allow-backup }}' + echo '${{ steps.apk-info.outputs.supports-rtl }}' + echo '${{ steps.apk-info.outputs.file-size }}' + echo '${{ steps.apk-info.outputs.readable-file-size }}' - name: Upload APK uses: actions/upload-artifact@v4 with: diff --git a/wallet/build.gradle b/wallet/build.gradle index 18095d5..d93769e 100644 --- a/wallet/build.gradle +++ b/wallet/build.gradle @@ -40,26 +40,9 @@ android { } } - repositories { - flatDir { - dirs 'aars' - } - } - -//sourceSets { -// unitTest { -// java.srcDir file('src/test/java') -// resources.srcDir file('src/test/resources') -// } -//} - dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: '../core/libs', include: ['*.jar']) - // Testing - // androidTestCompile 'junit:junit:4.11' - // androidTestCompile 'org.robolectric:robolectric:2.3' - // androidTestCompile 'com.squareup:fest-android:1.0.+' implementation project(':core') implementation 'com.android.support:gridlayout-v7:28.0.0' implementation 'com.android.support:support-v4:28.0.0' @@ -84,20 +67,6 @@ android { } } -//apply plugin: 'robolectric' - -//robolectric { -// include '**/*Test.class' -// exclude '**/espresso/**/*.class' -//} - -//apply plugin: 'idea' - -//idea { -// module { -// testOutputDir = file('build/test-classes/debug') -// } -//} namespace 'com.vergepay.wallet' lint { abortOnError false