Compare commits
19 commits
6ccffcbd3b
...
2a3c9941ce
Author | SHA1 | Date | |
---|---|---|---|
2a3c9941ce | |||
6560076fcb | |||
3dc8efcd12 | |||
e41c3e1db1 | |||
ce526ca1e6 | |||
91fe96c5c8 | |||
9b96569a2b | |||
d51054848a | |||
dbf2b92921 | |||
fb1fd4d95f | |||
bb2a5274c2 | |||
0665f80449 | |||
f37fe0416c | |||
f7de4fd7fa | |||
4e610570ba | |||
18512bc0ff | |||
e0ac0f4a81 | |||
6d2a3f256d | |||
2501551ce2 |
6 changed files with 15 additions and 15 deletions
|
@ -17,7 +17,7 @@ jobs:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: https://git.wbrawner.com/gradle/actions/wrapper-validation@v3
|
uses: https://git.wbrawner.com/gradle/actions/wrapper-validation@v4
|
||||||
unit_tests:
|
unit_tests:
|
||||||
name: Run Unit Tests
|
name: Run Unit Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -32,10 +32,10 @@ jobs:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: https://git.wbrawner.com/android-actions/setup-android@v3
|
uses: https://git.wbrawner.com/android-actions/setup-android@v3
|
||||||
|
- name: Setup gradle
|
||||||
|
uses: https://git.wbrawner.com/gradle/actions/setup-gradle@v4
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
uses: https://git.wbrawner.com/gradle/actions/setup-gradle@v3
|
run: ./gradlew check
|
||||||
with:
|
|
||||||
arguments: check
|
|
||||||
- name: Publish JUnit Results
|
- name: Publish JUnit Results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
@ -198,7 +198,7 @@ fun ScanScreen(
|
||||||
showScannerUrlInput = false
|
showScannerUrlInput = false
|
||||||
},
|
},
|
||||||
keyboardOptions = KeyboardOptions.Default.copy(
|
keyboardOptions = KeyboardOptions.Default.copy(
|
||||||
autoCorrect = false,
|
autoCorrectEnabled = false,
|
||||||
capitalization = KeyboardCapitalization.None,
|
capitalization = KeyboardCapitalization.None,
|
||||||
keyboardType = KeyboardType.Uri
|
keyboardType = KeyboardType.Uri
|
||||||
)
|
)
|
||||||
|
|
|
@ -81,7 +81,7 @@ class HpScannerService(
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
onDownload { bytesSentTotal, contentLength ->
|
onDownload { bytesSentTotal, contentLength ->
|
||||||
onProgress(bytesSentTotal, contentLength)
|
onProgress(bytesSentTotal, contentLength?: 0L)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val responseBody: ByteArray = httpResponse.body()
|
val responseBody: ByteArray = httpResponse.body()
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
[versions]
|
[versions]
|
||||||
activityCompose = "1.9.0"
|
activityCompose = "1.9.3"
|
||||||
androidGradlePlugin = "8.5.1"
|
androidGradlePlugin = "8.7.2"
|
||||||
appcompat = "1.7.0"
|
appcompat = "1.7.0"
|
||||||
composeBom = "2024.06.00"
|
composeBom = "2024.10.01"
|
||||||
coreKtx = "1.13.1"
|
coreKtx = "1.15.0"
|
||||||
espressoCore = "3.6.1"
|
espressoCore = "3.6.1"
|
||||||
junit = "4.13.2"
|
junit = "4.13.2"
|
||||||
junitVersion = "1.2.1"
|
junitVersion = "1.2.1"
|
||||||
kotlin = "2.0.0"
|
kotlin = "2.0.21"
|
||||||
ktorVersion = "2.3.12"
|
ktorVersion = "3.0.1"
|
||||||
lifecycleRuntimeKtx = "2.8.3"
|
lifecycleRuntimeKtx = "2.8.7"
|
||||||
maxSdk = "34"
|
maxSdk = "35"
|
||||||
minSdk = "29"
|
minSdk = "29"
|
||||||
preferenceKtx = "1.2.1"
|
preferenceKtx = "1.2.1"
|
||||||
|
|
||||||
|
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-all.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
Loading…
Reference in a new issue