-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
41 lines (33 loc) · 1.37 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
plugins {
kotlin("multiplatform") version "2.0.20"
kotlin("plugin.compose") version "2.0.20"
id("org.jetbrains.compose") version "1.6.11"
id("net.kodein.cup") version "1.0.0-Beta-09"
}
cup {
targetDesktop()
// TODO: If you comment this (you don't want to export your presentation as a web page),
// you must remove the .github/workflows/pages.yml file as well.
targetWeb()
}
kotlin {
sourceSets.commonMain {
dependencies {
// Includes Source Code highlighting & animations.
implementation(cup.sourceCode)
// TODO: Select plugins (comment or uncomment function of your needs)
// Secondary window with preview & speaker notes.
implementation(cup.plugin.speakerWindow)
// Allows to draw over the presentation on the main window.
// This tool is also part of the Speaker Mode window.
implementation(cup.plugin.laser)
// TODO: Select material or material3 (for composables such as Text).
implementation(compose.material)
implementation(cup.widgets.material)
// implementation(compose.material3)
// implementation(cup.widgets.material3)
implementation("org.kodein.emoji:emoji-compose-m2:2.1.0")
// implementation("org.kodein.emoji:emoji-compose-m3:2.0.1")
}
}
}