-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (52 loc) · 1.47 KB
/
build.gradle
File metadata and controls
57 lines (52 loc) · 1.47 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
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.ExtensionsKt
plugins {
id 'org.jetbrains.intellij' version '1.13.2'
id 'org.jetbrains.changelog' version '2.0.0'
id 'java'
}
group 'org.cafeboy.idea.plugin'
version '1.0.4'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenLocal()
maven { url "https://www.jetbrains.com/intellij-repository/snapshots" }
mavenCentral()
}
dependencies {
implementation 'com.google.zxing:core:3.5.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2021.2.4'
}
patchPluginXml {
sinceBuild = '203'
untilBuild = ''
pluginDescription = ExtensionsKt.markdownToHTML("""## Description
A plug-in that generates a two-dimensional barcode of a specific text.
## Features
- Create QR code.
- Read QR code from the screen.
- Parse QR code picture into text.
## How to use
- Right-click the selected text to generate a QR code
- Open Codeit tool window to discover more features
""")
changeNotes = changelog.renderItem(
changelog
.getLatest()
.withHeader(false)
.withEmptySections(false),
Changelog.OutputType.HTML
)
}
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
}
test {
useJUnitPlatform()
}