Update WindowState dependencies (#57)
* Update WindowState gradle and dependencies * Update readme * Update JDK version for workflow
This commit is contained in:
Родитель
9231e6018a
Коммит
6802487a05
|
@ -27,10 +27,10 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up JDK 11
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
java-version: 17
|
||||
|
||||
- name: Cache gradle packages
|
||||
uses: actions/cache@v2
|
||||
|
|
|
@ -24,7 +24,7 @@ And the window size classes are measured based on Google's [Window size classes]
|
|||
2. Add dependencies to the module-level **build.gradle** file (current version may be different from what's shown here).
|
||||
|
||||
```gradle
|
||||
implementation "com.microsoft.device.dualscreen:windowstate:1.0.0-alpha08"
|
||||
implementation "com.microsoft.device.dualscreen:windowstate:1.0.0-alpha09"
|
||||
```
|
||||
|
||||
3. Also ensure the compileSdkVersion is set to API 33 and the targetSdkVersion is set to API 32 or newer in the module-level build.gradle file.
|
||||
|
|
|
@ -14,16 +14,16 @@ ext {
|
|||
|
||||
// WindowState library version code:
|
||||
// If you want to publish a new version, bump in one (1) the specific line(s)
|
||||
windowStateVersionCode = 8
|
||||
windowStateVersionCode = 9
|
||||
|
||||
// WindowState library version name:
|
||||
// If you want to publish a new version, bump the specific line
|
||||
windowStateVersionName = '1.0.0-alpha08'
|
||||
windowStateVersionName = '1.0.0-alpha09'
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
gradlePluginVersion = '7.3.0'
|
||||
kotlinVersion = '1.8.0'
|
||||
gradlePluginVersion = '8.0.0'
|
||||
kotlinVersion = '1.8.21'
|
||||
compileSdkVersion = 33
|
||||
targetSdkVersion = 32
|
||||
minSdkVersion = 23
|
||||
|
@ -44,9 +44,9 @@ ext {
|
|||
]
|
||||
|
||||
// AndroidX dependencies
|
||||
appCompatVersion = '1.6.0'
|
||||
ktxCoreVersion = '1.9.0'
|
||||
windowVersion = "1.1.0-alpha04"
|
||||
appCompatVersion = '1.6.1'
|
||||
ktxCoreVersion = '1.10.0'
|
||||
windowVersion = "1.1.0-beta02"
|
||||
androidxDependencies = [
|
||||
appCompat : "androidx.appcompat:appcompat:$appCompatVersion",
|
||||
ktxCore : "androidx.core:core-ktx:$ktxCoreVersion",
|
||||
|
@ -55,10 +55,10 @@ ext {
|
|||
]
|
||||
|
||||
// Compose dependencies
|
||||
composeVersion = '1.3.3'
|
||||
composeMaterialVersion = '1.3.1'
|
||||
composeCompilerVersion = "1.4.0"
|
||||
activityComposeVersion = '1.6.1'
|
||||
composeVersion = '1.4.3'
|
||||
composeMaterialVersion = '1.4.3'
|
||||
composeCompilerVersion = "1.4.7"
|
||||
activityComposeVersion = '1.7.1'
|
||||
navigationComposeVersion = "2.5.3"
|
||||
composeDependencies = [
|
||||
composeMaterial : "androidx.compose.material:material:$composeMaterialVersion",
|
||||
|
@ -74,7 +74,7 @@ ext {
|
|||
androidxTestRunnerVersion = '1.5.2'
|
||||
espressoVersion = '3.5.1'
|
||||
junitVersion = '4.13.2'
|
||||
mockitoVersion = '5.1.1'
|
||||
mockitoVersion = '5.3.1'
|
||||
uiAutomatorVersion = "2.2.0"
|
||||
testDependencies = [
|
||||
androidxTestCore : "androidx.test:core:$androidxTestVersion",
|
||||
|
|
|
@ -19,4 +19,6 @@ android.useAndroidX=true
|
|||
android.enableJetifier=true
|
||||
# Kotlin code style for this project: "official" or "obsolete":
|
||||
kotlin.code.style=official
|
||||
android.disableAutomaticComponentCreation=true
|
||||
android.defaults.buildfeatures.buildconfig=true
|
||||
android.nonTransitiveRClass=false
|
||||
android.nonFinalResIds=false
|
|
@ -1,6 +1,6 @@
|
|||
#Wed Jan 05 12:49:04 PST 2022
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
Загрузка…
Ссылка в новой задаче