Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/dtserwone 1985 add githubactions #290

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Android UI SDK CI

on:
workflow_dispatch:
push:
branches:
- master
- support/SDK-V3
- feature/**
- bugfix/**
- dependabot/**

jobs:
build:
# Compile the project using the predefined JDK versions in the strategy section
runs-on: ubuntu-latest
name: Build - JDK ${{ matrix.java-version }}

strategy:
fail-fast: false
matrix:
java-version: [ 11 ]

steps:
- uses: actions/checkout@v4

- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}

- name: Setup Android SDK
uses: android-actions/setup-android@v2

- name: Build CORE SDK ${{ matrix.java-version }}
run: ./gradlew --scan clean lint testDebugUnitTest jacocoTestCoverageVerification
2 changes: 2 additions & 0 deletions balancerepository/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ project.ext {
apply from: "$rootProject.projectDir/publish.gradle"

dependencies {
implementation "androidx.annotation:annotation:1.8.0"

testImplementation "org.robolectric:robolectric:$robolectricVersion"
testImplementation "com.squareup.okhttp3:mockwebserver:$mockWebServerVersion"
testImplementation project(':testutils')
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.android.tools.build:gradle:3.6.4'
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7"

// NOTE: Do not place your application dependencies here; they belong
Expand Down Expand Up @@ -63,7 +63,7 @@ subprojects {
coreTest = '1.3.0'
//
jacocoVersion = "0.8.2"
fileFilter = ['**/BuildConfig.*']
fileFilter = ['**/BuildConfig.*', 'jdk.internal.*']
}

}
Expand Down
2 changes: 2 additions & 0 deletions commonui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ apply from: "$rootProject.projectDir/android-library.gradle"
apply from: "$rootProject.projectDir/publish.gradle"

dependencies {
implementation "androidx.annotation:annotation:1.8.0"

implementation "com.hyperwallet.android:insight-sdk:$hyperwalletInsightVersion"
implementation project(':commonrepository')

Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Feb 25 20:26:26 PST 2019
#Mon Jul 15 18:33:17 PDT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip
1 change: 1 addition & 0 deletions jacoco-settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ android {
unitTests.all {
jacoco {
includeNoLocationClasses = true
excludes = ['jdk.internal.*']
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion receiptrepository/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apply from: "$rootProject.projectDir/publish.gradle"


dependencies {

implementation "androidx.annotation:annotation:1.8.0"
implementation "androidx.legacy:legacy-support-v4:$legacySupportV4Version"
implementation "androidx.paging:paging-runtime:$pagingRuntimeVersion"
api project(':commonrepository')
Expand Down
1 change: 1 addition & 0 deletions receiptui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies {
implementation project(":receiptrepository")
implementation project(path: ':userrepository')
implementation project(":transfermethodrepository")
implementation "androidx.annotation:annotation:1.8.0"

implementation "com.google.android.material:material:$androidMaterialVersion"
implementation "androidx.constraintlayout:constraintlayout:$constraintlayoutVersion"
Expand Down
1 change: 1 addition & 0 deletions testutils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description = 'Test Utils for Hyperwallet UI SDK'
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation "androidx.annotation:annotation:1.8.0"
implementation "androidx.test:rules:$testRulesVersion"
implementation "androidx.test.espresso:espresso-core:$espressoVersion"
implementation "com.squareup.okhttp3:mockwebserver:$mockServerVersion"
Expand Down
2 changes: 2 additions & 0 deletions transfermethodrepository/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ apply from: "$rootProject.projectDir/publish.gradle"
dependencies {
api project(':commonrepository')

implementation "androidx.annotation:annotation:1.8.0"

testImplementation "org.robolectric:robolectric:$robolectricVersion"
testImplementation "com.squareup.okhttp3:mockwebserver:$mockWebServerVersion"
testImplementation project(':testutils')
Expand Down
2 changes: 2 additions & 0 deletions transfermethodui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ apply from: "$rootProject.projectDir/publish.gradle"

dependencies {

implementation "androidx.annotation:annotation:1.8.0"

implementation "androidx.appcompat:appcompat:$appcompatVersion"
implementation "androidx.constraintlayout:constraintlayout:$constraintlayoutVersion"
implementation "androidx.legacy:legacy-support-v4:$legacySupportV4Version"
Expand Down
Loading