-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.old
79 lines (67 loc) · 1.74 KB
/
build.gradle.old
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
79
plugins {
id 'java'
id 'org.jetbrains.intellij.platform' version '2.1.0'
}
group 'com.namecheap'
version '1.0.0'
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
intellijPlatform {
// Define target IDE type and version
dependency {
type = 'PC' // PyCharm
version = '2024.3'
}
// Plugin configuration
pluginConfiguration {
id = 'com.namecheap.nameko.rpc'
name = 'Nameko RPC Support'
version = '1.0.0'
description = '''
Provides code completion and type inference support for Nameko RPC services.
- Code completion for RPC methods
- Type inference for method parameters
- Service name detection
'''
}
// Dependencies
plugins {
bundledPlugin('PythonCore')
}
}
tasks {
test {
useJUnitPlatform()
// Enable debug logging for tests
systemProperty("idea.log.debug.categories", "#com.namecheap.nameko.debug")
testLogging {
events("passed", "skipped", "failed")
}
}
// Configure runIde task
runIde {
// Enable debug logging
jvmArgs = [
'-Didea.log.debug=true',
'-Didea.log.trace=true',
'-Didea.log.debug.categories=#com.namecheap.nameko.debug',
'-Didea.is.internal=true'
]
autoReloadPlugins = true
}
}
// Set Java compatibility
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}