-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
39 lines (34 loc) · 1.13 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
plugins {
}
apply plugin: 'groovy'
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group = 'com.ullink.gradle'
description 'Gradle plugin connect to symstore server.'
sourceCompatibility = JavaVersion.VERSION_11
dependencies {
compile gradleApi()
compile localGroovy()
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.3.6'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.6'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'org.json', name: 'json', version: '20180813'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.3-groovy-2.4', transitive: false
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
repositories {
maven {
url project.properties.releaseExternalPublishRepo
credentials {
username = project.properties.repoUsername
password = project.properties.repoPassword
}
}
}
}