-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (73 loc) · 2.46 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.21'
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'maven-publish'
group 'com.doddi'
version '0.0.1'
repositories {
mavenCentral()
}
intellij {
plugins = [
'java',
'maven',
'JavaScriptLanguage',
'org.rust.lang:0.2.122.3105-201',
'org.toml.lang:0.2.120.37-193',
'org.jetbrains.plugins.go:202.6397.94',
'Pythonid:202.6397.94',
'properties']
}
dependencies {
compile (group: 'org.reflections', name: 'reflections', version: '0.9.11')
compile (group: 'com.opencsv', name: 'opencsv', version: '5.2')
compile (group: 'com.github.jezza', name: 'toml', version: '1.1-java-8')
compile (group: 'org.sonatype.goodies', name: 'package-url-java', version: '1.2.0')
compile (group: 'org.sonatype.ossindex', name: 'ossindex-service-client', version: '1.2.0') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.7.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.9'
testCompile group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.9'
testImplementation 'org.mockito:mockito-core:2.7.22'
}
intellij {
version '202.6397.94'
//version 'LATEST-EAP-SNAPSHOT'
type 'IU'
}
patchPluginXml {
changeNotes """
Change Notes.<br>
<em>Maven (single module) and Rust projects supported</em>
<em>Maven multi-module and more ecosystems</em>
<em>Support for both IQ nad OSS Index scanning"""
}
/*
Requires a clone of https://github.com/JetBrains/intellij-community.
Create a gradle.properties file at the root of this project and add the following
IDEA_SOURCES_PATH=/path/to/intellij/community/sources
*/
test {
systemProperty "idea.home.path", "$IDEA_SOURCES_PATH"
}
publishing {
publications {
main(MavenPublication) {
artifact "build/distributions/vulnerability_scanner_idea_plugin-${version}.zip"
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/doddi/vulnerability_scanner_idea_plugin"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}