Browse Source

Fix Error in snippet at /mnt/agent/work/b8625f0804e53334/tutorials/./UI_Testing/README.md:9 (#3628)

Crashes, because tutorial checker uses desktop-template without uiTesting module

See https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_AllGitHubRelease/4301157?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true

Also adding "``` kotlin` hach to avoid compilation of some snippets 9we use it in another places)
pull/3648/head
Igor Demin 1 year ago committed by GitHub
parent
commit
c44601a1f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ci/templates/desktop-template/build.gradle.kts
  2. 2
      ci/templates/desktop-template/gradle/wrapper/gradle-wrapper.properties

3
ci/templates/desktop-template/build.gradle.kts

@ -17,6 +17,9 @@ dependencies {
// (in a separate module for demo project and in testMain).
// With compose.desktop.common you will also lose @Preview functionality
implementation(compose.desktop.currentOs)
// Include the Test API
implementation(compose.desktop.uiTestJUnit4)
}
compose.desktop {

2
ci/templates/desktop-template/gradle/wrapper/gradle-wrapper.properties vendored

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

Loading…
Cancel
Save