-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (42 loc) · 1.24 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
allprojects {
group = 'sub.ent'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://maven.restlet.talend.com/'
}
}
apply plugin: 'java'
apply plugin: 'maven-publish'
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
implementation group: 'org.mockito', name: 'mockito-core', version: '2.21.0'
}
defaultTasks "clean", "build"
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'sub.ent'
artifactId = 'solr-importer'
version = "0.1-SNAPSHOT"
from components.java
pom {
description = 'Library for Solr imports'
}
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/subugoe/solr-importer"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}