-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
78 lines (67 loc) · 1.67 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.1.0"
}
group = "com.namecheap"
version = "1.0.0"
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
intellijPlatform {
pycharmCommunity("2024.3")
bundledPlugin("PythonCore")
pluginVerifier()
zipSigner()
instrumentationTools()
testFramework(TestFrameworkType.Platform)
}
testRuntimeOnly("junit:junit:4.13.2")
testImplementation("org.junit.vintage:junit-vintage-engine:5.11.3")
testImplementation("org.assertj:assertj-core:3.24.2")
}
intellijPlatform {
// Plugin configuration
pluginConfiguration {
id.set("com.namecheap.nameko.rpc")
name.set("Nameko RPC Support")
version.set("1.0.0")
description.set("""
Provides code completion and type inference support for Nameko RPC services.
- Code completion for RPC methods
- Type inference for method parameters
- Service name detection
""".trimIndent())
}
}
intellijPlatformTesting {
runIde
testIde
testIdeUi
testIdePerformance
}
tasks {
test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
runIde {
// Enable debug logging
jvmArgs(
"-Didea.log.debug=true",
"-Didea.log.trace=true",
"-Didea.log.debug.categories=#com.namecheap.nameko.debug",
)
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}