Skip to content

Commit

Permalink
docs: describe artifact final number / prompt artifact re-verification
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Nov 21, 2024
1 parent 22ca6ca commit 535ead1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AnkiDroid/robolectricDownloader.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import java.nio.file.Files

// List from: https://github.com/robolectric/robolectric/blob/master/robolectric/src/main/java/org/robolectric/plugins/DefaultSdkProvider.java
// This list will need to be updated for new Android SDK versions that come out.
// Note: the PREINSTRUMENTED_VERSION constant is what you put on the end of the artifact

// Only the versions currently used in AnkiDroid Robolectric tests are active, the rest are commented out
// To update these versions, open a terminal in the Anki-Android directory and perform the following steps:
Expand Down Expand Up @@ -43,6 +44,7 @@ tasks.register('robolectricSdkDownload') {

// Generate the configuration and actual copy tasks.
robolectricAndroidSdkVersions.forEach { robolectricSdkVersion ->
// the final part of this `-i<number>` comes from PREINSTRUMENTED_VERSION in upstream DefaultSdkProvider
def version = "${robolectricSdkVersion['androidVersion']}-robolectric-${robolectricSdkVersion['frameworkSdkBuildVersion']}-i7"

// Creating a configuration with a dependency allows Gradle to manage the actual resolution of
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ nanohttpd = "2.3.1"
okhttp = "4.12.0"
# https://github.com/protocolbuffers/protobuf/releases
protobufKotlinLite = "4.28.3"
# ../AnkiDroid/robolectricDownload.gradle may need changes - read instructions in that file
robolectric = "4.14"
searchpreference = "2.5.1"
seismic = "1.0.3"
Expand Down

0 comments on commit 535ead1

Please sign in to comment.