-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
109 lines (94 loc) · 2.66 KB
/
build.gradle
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
plugins {
id 'java'
id("org.jetbrains.intellij.platform") version "2.1.0"
}
group 'org.bigtows'
version '2.1.5'
sourceCompatibility = 21
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
ext {
lombokVersion = '1.18.36'
}
dependencies {
intellijPlatform {
intellijIdeaCommunity("2024.3")
pluginVerifier()
zipSigner()
instrumentationTools()
}
implementation 'com.evernote:evernote-api:1.25.1'
compileOnly "org.projectlombok:lombok:$lombokVersion"
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation 'org.mockito:mockito-core:2.7.22'
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
}
intellijPlatform {
pluginConfiguration {
name = 'PinNote'
description = """
A PinNote is a way to write notes in IDE by JetBrains.<br>
Now supported:
<ul>
<li>Store your notes in different places
<ul>
<li><a href="https://evernote.com">Evernote</a></li>
<li>Locally on your computer</li>
</ul>
</li>
<li>Sync notes between many instance IDE (Only Evernote).</li>
<li>Shortcuts:
<ul>
<li> Create a new target, default shortcut: ctrl/⌘ ⇧ T</li>
<li> Create a new root task: Shift + enter</li>
<li> Delete current task: ctrl/⌘ ⇧ ⌫</li>
<li> Select previous task: ↑</li>
<li> Select next task: ↓</li>
</ul>
</li>
</ul>
<br>
<a href="https://github.com/BigTows/PinNote">GitHub</a>
<br>
<p>Created by: Alexander Chapchuk @BigTows<p>
"""
changeNotes = """
<h1>Release: 2.1.5</h1><br>
<ul>
<li>
new Idea core build support.
</li>
</ul>
"""
ideaVersion {
sinceBuild = "202.*"
untilBuild = "300.*"
}
}
}
jar {
manifest {
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
//patchPluginXml {
// changeNotes """
//<h1>Release: 2.1.3</h1><br>
//<ul>
// <li>
// new Idea core build support.
// </li>
//</ul>
// """
// //https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html?search=build
//// sinceBuild "202.*"
//// untilBuild "221.*"
//}