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:
+1
-1
@@ -6,7 +6,7 @@ buildscript {
|
|||||||
google()
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:8.9.1'
|
classpath 'com.android.tools.build:gradle:9.2.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1 @@
|
|||||||
android.enableJetifier=true
|
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.defaults.buildfeatures.buildconfig=true
|
|
||||||
|
|||||||
+1
-1
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-all.zip
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
namespace 'com.hoho.android.usbserial.examples'
|
namespace 'com.hoho.android.usbserial.examples'
|
||||||
|
buildFeatures {
|
||||||
|
buildConfig true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -28,17 +28,20 @@ android {
|
|||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
buildFeatures {
|
||||||
|
buildConfig true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "androidx.annotation:annotation:1.9.1"
|
implementation "androidx.annotation:annotation:1.10.0"
|
||||||
testImplementation 'junit:junit:4.13.2'
|
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.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:core:1.5.0' // later versions have minsdk 19
|
||||||
androidTestImplementation 'androidx.test:runner:1.5.2' // 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 '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
|
// gradle task: publishToMavenLocal
|
||||||
|
|||||||
Reference in New Issue
Block a user