1
0
mirror of https://github.com/mik3y/usb-serial-for-android.git synced 2026-08-11 08:22:52 +00:00

gradle + library update

This commit is contained in:
kai-morich
2026-07-12 13:56:35 +02:00
parent 667eb404a1
commit 8e694372de
5 changed files with 11 additions and 7 deletions
+6 -3
View File
@@ -28,17 +28,20 @@ android {
withSourcesJar()
}
}
buildFeatures {
buildConfig true
}
}
dependencies {
implementation "androidx.annotation:annotation:1.9.1"
implementation "androidx.annotation:annotation:1.10.0"
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.15.2'
testImplementation 'org.mockito:mockito-core:5.17.0' // later versions require new Java version: Unsupported class file major version 68
androidTestImplementation 'androidx.appcompat:appcompat:1.6.1' // later versions have minsdk 21
androidTestImplementation 'androidx.test:core:1.5.0' // later versions have minsdk 19
androidTestImplementation 'androidx.test:runner:1.5.2' // later versions have minsdk 19
androidTestImplementation 'commons-net:commons-net:3.9.0' // later versions fail on old Android devices with missing java.time.Duration class
androidTestImplementation 'org.apache.commons:commons-lang3:3.14.0'
androidTestImplementation 'org.apache.commons:commons-lang3:3.20.0'
}
// gradle task: publishToMavenLocal