-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.51 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.17.2'
id 'com.github.spotbugs' version '5.0.14' // Add SpotBugs plugin
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'idea'
apply plugin: 'java'
group 'fish.payara.micro.intellij'
version '2.0.0'
sourceCompatibility = "17"
targetCompatibility = "17"
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://nexus.dev.payara.fish/repository/payara-artifacts/"
}
}
dependencies {
implementation 'fish.payara.tools:payara-cloud:1.0-Alpha4'
implementation 'fish.payara.cloud:cloud-api:1.0.1'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.9.1'
}
// SpotBugs Configuration
spotbugs {
toolVersion = '4.2.3' // Set the SpotBugs version
effort = 'max' // Maximum analysis effort
reportLevel = 'low' // Report all issues
ignoreFailures = true // Fail the build on SpotBugs violations (set to true if you want the build to continue)
}
tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
reports {
xml.enabled = true // Enable XML report
html.enabled = false // Enable HTML report
}
}
intellij {
version = '251.17181-EAP-CANDIDATE-SNAPSHOT'
type = 'IC'
pluginName = 'Payara IntelliJ Community Tools'
plugins = ['java', 'maven', 'maven-model', 'gradle', 'terminal']
}
patchPluginXml {
sinceBuild = "251.17181"
}
publishPlugin {
token = System.getProperty("fish.payara.micro.intellij.publish.token")
}