Skip to content

Commit

Permalink
More JNA fun
Browse files Browse the repository at this point in the history
  • Loading branch information
rvandermeulen committed May 7, 2024
1 parent 48251d5 commit 4dbedf3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions glean-core/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ dependencies {
compileOnly libs.junit
compileOnly libs.test.work

// For reasons unknown, resolving the jnaForTest configuration directly
// trips a nasty issue with the Android-Gradle plugin 3.2.1, like `Cannot
// change attributes of configuration ':PROJECT:kapt' after it has been
// resolved`. I think that the configuration is being made a
// super-configuration of the testImplementation and then the `.files` is
// causing it to be resolved. Cloning first dissociates the configuration,
// avoiding other configurations from being resolved. Tricky!
testImplementation files(configurations.jnaForTest.copyRecursive().files)
testImplementation libs.mockito
testImplementation libs.mockwebserver
testImplementation libs.robolectric
Expand Down

0 comments on commit 4dbedf3

Please sign in to comment.