Skip to content

Commit cbb9ec9

Browse files
authored
Fix Maven Project test template (add -Dcompose.material3.version=) (#5364)
After decoupling Material3 from Compose, we need to pass their versions separately [CI fix](https://jetbrains.team/p/ui/repositories/compose-teamcity-config/revision/df83b9cf9acff67a45f799e0de7559bc04d7c516) ## Testing ``` ./check.sh ./check.sh -Dcompose.version=1.9.0-alpha02 ./check.sh -Dcompose.version=1.9.0-alpha01 -Dcompose.material3.version=1.9.0-alpha03 ``` ## Release Notes N/A
1 parent d76f535 commit cbb9ec9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The purpose of this test project is to check if Compose Multiplatform is resolvable via pom files, which are used by JPS, which is used by IntelliJ
22

33
```
4-
./check.sh -Dkotlin.version=2.1.0 -Dcompose.version=1.8.0-alpha02
4+
./check.sh -Dkotlin.version=2.1.0 -Dcompose.version=1.8.0-alpha02 -Dcompose.material3.version=1.8.0-alpha02
55
```

ci/templates/maven-test-project/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<kotlin.compiler.jvmTarget>11</kotlin.compiler.jvmTarget>
1515
<kotlin.version>2.1.20</kotlin.version>
1616
<compose.version>1.8.2</compose.version>
17+
<compose.material3.version>1.8.2</compose.material3.version>
1718
</properties>
1819

1920
<repositories>
@@ -98,10 +99,15 @@
9899
<artifactId>kotlin-stdlib</artifactId>
99100
<version>${kotlin.version}</version>
100101
</dependency>
102+
<dependency>
103+
<groupId>org.jetbrains.compose.foundation</groupId>
104+
<artifactId>foundation-desktop</artifactId>
105+
<version>${compose.version}</version>
106+
</dependency>
101107
<dependency>
102108
<groupId>org.jetbrains.compose.material3</groupId>
103109
<artifactId>material3-desktop</artifactId>
104-
<version>${compose.version}</version>
110+
<version>${compose.material3.version}</version>
105111
</dependency>
106112

107113
<dependency>

0 commit comments

Comments
 (0)