-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
73 lines (68 loc) · 2.64 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
plugins {
id 'myproject.java-conventions'
id 'myproject.scala-conventions'
}
group 'com.nosto'
version '0.0.5'
java {
sourceCompatibility "11"
targetCompatibility "11"
}
dependencies {
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.2.0'
testRuntimeOnly group: 'org.junit.vintage', name: 'junit-vintage-engine', version: '5.2.0'
testImplementation group: 'org.scalatest', name: 'scalatest_2.12', version: '3.0.9'
testRuntimeOnly 'org.scala-lang.modules:scala-xml_2.12:2.0.1'
testRuntimeOnly 'com.vladsch.flexmark:flexmark-all:0.62.2'
implementation group: 'org.scala-lang', name: 'scala-library', version: '2.12.12'
implementation group: 'net.pishen', name: "annoy4s_2.12", version: '0.10.0'
implementation group: 'net.java.dev.jna', name: 'jna', version: '5.8.0'
implementation group: 'org.apache.spark', name: "spark-core_2.12", version: '3.0.0'
testImplementation group: 'com.holdenkarau', name: "spark-testing-base_2.12", version: '3.0.0_1.1.0'
testImplementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-scala_2.12', version: '2.12.3'
}
publishing {
repositories {
maven {
name = "github"
url = uri("https://maven.pkg.github.com/nosto/spartann")
credentials(PasswordCredentials)
}
}
publications {
maven(MavenPublication) {
from components.java
pom {
name = 'Spartann'
description = 'Hyper performant kNN using Annoy for Apache Spark.'
url = 'https://github.com/nosto/spartann'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0.txt'
distribution = 'repo'
}
}
developers {
developer {
id = 'mridang'
name = 'Mridang Agarwalla'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://github.com/nosto/spartann.git'
developerConnection = 'scm:git:ssh://github.com/nosto/spartann.git'
url = 'https://github.com/nosto/spartann'
}
issueManagement {
system = "Github"
url = "https://github.com/nosto/spartann/issues"
}
}
}
}
}
checkForDuplicateClasses {
excludes(['.*'])
}