forked from redhat-developer/intellij-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (40 loc) · 1.23 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
plugins {
id "org.jetbrains.intellij" version "0.4.18"
id 'maven-publish'
}
repositories {
mavenCentral()
}
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'jacoco'
intellij {
version ideaVersion //for a full list of IntelliJ IDEA releases please see https://www.jetbrains.com/intellij-repository/releases
plugins 'terminal'
}
dependencies {
compile 'io.fabric8:kubernetes-client:4.9.0'
compile 'org.apache.commons:commons-exec:1.3'
}
def jarFile = file("$buildDir/libs/intellij-common-${projectVersion}.jar")
publishing {
publications {
mavenJava(MavenPublication) {
from project.components.java
}
}
repositories {
maven {
def releasesRepoUrl = "https://repository.jboss.org/nexus/content/groups/public/"
def snapshotsRepoUrl = "https://repository.jboss.org/nexus/content/repositories/snapshots/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = nexusUser
password = nexusPassword
}
}
}
}
group 'com.redhat.devtools.intellij'
version projectVersion // Plugin version