-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathbuild.gradle.kts
55 lines (45 loc) · 1.54 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import java.net.URI
plugins {
jewel
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.ideaPlugin)
`android-studio-releases-generator`
}
// Because we need to define IJP dependencies, the dependencyResolutionManagement
// from settings.gradle.kts is overridden and we have to redeclare everything here.
repositories {
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
mavenCentral()
intellijPlatform {
ivy {
name = "PKGS IJ Snapshots"
url = URI("https://packages.jetbrains.team/files/p/kpm/public/idea/snapshots/")
patternLayout {
artifact("[module]-[revision](-[classifier]).[ext]")
artifact("[module]-[revision](.[classifier]).[ext]")
}
metadataSources { artifact() }
}
defaultRepositories()
}
}
dependencies {
intellijPlatform {
intellijIdeaCommunity(libs.versions.idea)
instrumentationTools()
}
implementation(projects.ideLafBridge) { exclude(group = "org.jetbrains.kotlinx") }
implementation(projects.markdown.ideLafBridgeStyling) { exclude(group = "org.jetbrains.kotlinx") }
implementation(compose.desktop.currentOs) {
exclude(group = "org.jetbrains.compose.material")
exclude(group = "org.jetbrains.kotlinx")
}
}
intellijPlatform {
pluginConfiguration { name = "Jewel Demo" }
buildSearchableOptions = false
autoReload = false
}
tasks { runIde { jvmArgs = listOf("-Xmx3g") } }