-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (43 loc) · 1.31 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
plugins {
id 'java-library'
id 'maven'
id 'maven-publish'
}
group 'com.fujimotoakira'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/gumtreediff/gumtree")
credentials {
username = project.hasProperty("GITHUB_USER") ? GITHUB_USER : ''
password = project.hasProperty("GITHUB_TOKEN") ? GITHUB_TOKEN : ''
}
}
}
dependencies {
annotationProcessor 'org.atteo.classindex:classindex:3.10'
implementation 'org.eclipse.jdt:org.eclipse.jdt.core:3.23.0'
implementation 'com.github.gumtreediff:core:3.0.0-beta1'
implementation 'org.atteo.classindex:classindex:3.10'
testCompile group: 'junit', name: 'junit', version: '4.12'
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/a-fujimt/gen.mjava")
credentials {
username = project.hasProperty("GITHUB_USER") ? GITHUB_USER : ''
password = project.hasProperty("GITHUB_TOKEN") ? GITHUB_TOKEN : ''
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}