Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Commit 6802487

Browse files
authored
Update WindowState dependencies (#57)
* Update WindowState gradle and dependencies * Update readme * Update JDK version for workflow
1 parent 9231e60 commit 6802487

5 files changed

Lines changed: 19 additions & 17 deletions

File tree

.github/workflows/build_test_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v2
2929

30-
- name: Set up JDK 11
30+
- name: Set up JDK 17
3131
uses: actions/setup-java@v1
3232
with:
33-
java-version: 11
33+
java-version: 17
3434

3535
- name: Cache gradle packages
3636
uses: actions/cache@v2

WindowState/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ And the window size classes are measured based on Google's [Window size classes]
2424
2. Add dependencies to the module-level **build.gradle** file (current version may be different from what's shown here).
2525
2626
```gradle
27-
implementation "com.microsoft.device.dualscreen:windowstate:1.0.0-alpha08"
27+
implementation "com.microsoft.device.dualscreen:windowstate:1.0.0-alpha09"
2828
```
2929
3030
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.

WindowState/dependencies.gradle

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ ext {
1414

1515
// WindowState library version code:
1616
// If you want to publish a new version, bump in one (1) the specific line(s)
17-
windowStateVersionCode = 8
17+
windowStateVersionCode = 9
1818

1919
// WindowState library version name:
2020
// If you want to publish a new version, bump the specific line
21-
windowStateVersionName = '1.0.0-alpha08'
21+
windowStateVersionName = '1.0.0-alpha09'
2222

2323
// ----------------------------------
2424

25-
gradlePluginVersion = '7.3.0'
26-
kotlinVersion = '1.8.0'
25+
gradlePluginVersion = '8.0.0'
26+
kotlinVersion = '1.8.21'
2727
compileSdkVersion = 33
2828
targetSdkVersion = 32
2929
minSdkVersion = 23
@@ -44,9 +44,9 @@ ext {
4444
]
4545

4646
// AndroidX dependencies
47-
appCompatVersion = '1.6.0'
48-
ktxCoreVersion = '1.9.0'
49-
windowVersion = "1.1.0-alpha04"
47+
appCompatVersion = '1.6.1'
48+
ktxCoreVersion = '1.10.0'
49+
windowVersion = "1.1.0-beta02"
5050
androidxDependencies = [
5151
appCompat : "androidx.appcompat:appcompat:$appCompatVersion",
5252
ktxCore : "androidx.core:core-ktx:$ktxCoreVersion",
@@ -55,10 +55,10 @@ ext {
5555
]
5656

5757
// Compose dependencies
58-
composeVersion = '1.3.3'
59-
composeMaterialVersion = '1.3.1'
60-
composeCompilerVersion = "1.4.0"
61-
activityComposeVersion = '1.6.1'
58+
composeVersion = '1.4.3'
59+
composeMaterialVersion = '1.4.3'
60+
composeCompilerVersion = "1.4.7"
61+
activityComposeVersion = '1.7.1'
6262
navigationComposeVersion = "2.5.3"
6363
composeDependencies = [
6464
composeMaterial : "androidx.compose.material:material:$composeMaterialVersion",
@@ -74,7 +74,7 @@ ext {
7474
androidxTestRunnerVersion = '1.5.2'
7575
espressoVersion = '3.5.1'
7676
junitVersion = '4.13.2'
77-
mockitoVersion = '5.1.1'
77+
mockitoVersion = '5.3.1'
7878
uiAutomatorVersion = "2.2.0"
7979
testDependencies = [
8080
androidxTestCore : "androidx.test:core:$androidxTestVersion",

WindowState/gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ android.useAndroidX=true
1919
android.enableJetifier=true
2020
# Kotlin code style for this project: "official" or "obsolete":
2121
kotlin.code.style=official
22-
android.disableAutomaticComponentCreation=true
22+
android.defaults.buildfeatures.buildconfig=true
23+
android.nonTransitiveRClass=false
24+
android.nonFinalResIds=false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Jan 05 12:49:04 PST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)