-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
66 lines (56 loc) · 2.17 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
plugins {
id "org.jetbrains.intellij" version "1.7.0"
id "java"
id "idea"
}
group 'org.jboss.tools.intellij'
version project.hasProperty('projectVersion') ? project.property('projectVersion') : '7.1.0'
intellij {
version = project.hasProperty('ideaVersion') ? project.property('ideaVersion') : '2022.2'
pluginName = 'org.jboss.tools.mta'
updateSinceUntilBuild = false
plugins = ['java']
}
task copyResources(type: Copy) {
from "src/main/resources/META-INF/web/"
into new File(buildDir, 'resources/resources')
}
dependencies {
implementation 'org.apache.commons:commons-exec:1.3'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'org.eclipse.text:org.eclipse.text:3.5.101'
implementation 'commons-io:commons-io:2.6'
implementation 'io.vertx:vertx-core:3.9.4'
implementation 'io.vertx:vertx-web:3.9.4'
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.4'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.12.4'
compile files(new File(buildDir, 'resources/resources')) {
builtBy 'copyResources'
}
testImplementation 'org.mockito:mockito-core:2.28.2'
}
publishPlugin {
token = project.hasProperty('jetBrainsToken') ? project.property('jetBrainsToken') : ''
channels = project.hasProperty('jetBrainsChannel') ? [project.property('jetBrainsChannel')] : ['default']
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url 'https://repository.jboss.org'
}
maven {
url "https://mvnrepository.com"
}
}
// Using the 'tasks' block to configure the runPluginVerifier task correctly
tasks.withType(org.jetbrains.intellij.tasks.RunPluginVerifierTask) {
ideVersions = ['IC-2022.2', 'IC-2021.2', 'IC-2021.3'] // Adjusted IDE versions to available versions
downloadDir = "$buildDir/pluginVerifier/ides"
verificationReportsDir = "$buildDir/pluginVerifier/reports"
failureLevel = ['COMPATIBILITY_PROBLEMS', 'INVALID_PLUGIN'].collect {
org.jetbrains.intellij.tasks.RunPluginVerifierTask.FailureLevel.valueOf(it)
}
}