Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (52 loc) · 1.48 KB
/
Copy pathbuild.gradle
File metadata and controls
59 lines (52 loc) · 1.48 KB
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
plugins {
id 'java'
id 'org.jetbrains.intellij.platform' version '2.10.5'
}
group 'cn.silently9527'
version '1.0.5'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
maven {
url 'https://maven.aliyun.com/nexus/content/groups/public'
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
implementation group: 'cn.hutool', name: 'hutool-http', version: '5.8.26'
implementation group: 'com.google.zxing', name: 'core', version: '3.5.3'
implementation group: 'com.google.zxing', name: 'javase', version: '3.5.3'
intellijPlatform {
local('/Applications/IntelliJ IDEA.app')
bundledPlugin('com.intellij.modules.json')
instrumentationTools()
pluginVerifier()
}
}
intellijPlatform {
pluginConfiguration {
name = 'toolkit'
ideaVersion {
sinceBuild = '253'
untilBuild = '253.*'
}
changeNotes = """
<h3>Version 1.0.4</h3>
<ul>
<li>Updated for IntelliJ IDEA 2025.1 compatibility</li>
<li>Modernized plugin configuration</li>
<li>Updated dependencies to latest versions</li>
</ul>
"""
}
sandboxContainer = file("${rootProject.rootDir}/idea-sandbox")
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}