Kotlin / Kotlin/Storytale

How to add storytale to non library catalog based projects

Open
#92 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
686
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I can't add storytale to my project.
I have a compose desktop project that does not use the library catalog based build system. My project is very plain vanilla: It has a build.gradle.kts and a settings.gradle.kts file.

I tried adding storytale to my project by adding this to my build.gradle.kts file:

```
plugins {
kotlin("jvm")
id("org.jetbrains.compose")
id("org.jetbrains.kotlin.plugin.compose")
id("org.jetbrains.compose.storytale") version "0.0.1+dev5"
}

repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://jogamp.org/deployment/maven")
google()
}

```

but when I run:
./gradlew clean desktopStoriesRun

I keep getting:
```
Task 'desktopStoriesRun' not found in root project 'Foobar'.

* Try:
> Run gradle tasks to get a list of available tasks.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
```

Can you tell me how can I add storytale to my project?
For reference, here is my gradle.properties file:
```
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=2.0.0
compose.version=1.7.3
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing build.gradle.kts and settings.gradle.kts, then run ./gradlew tasks to inspect which Storytale tasks are available in this non-library-catalog project. Compare that task list with the requested desktopStoriesRun command; the documentation is complete when it explains the required setup and the command becomes available.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.