-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
74 lines (66 loc) · 1.99 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
74
plugins {
id 'java-library'
id "io.freefair.lombok" version "8.1.0"
id "maven-publish"
}
group 'io.cloudquery'
// x-release-please-start-version
version = '0.0.1'
// x-release-please-end
repositories {
maven {
url = uri("https://maven.pkg.github.com/cloudquery/plugin-pb-java")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
mavenCentral()
}
dependencies {
// This dependency is exported to consumers, that is to say found on their compile classpath.
api 'org.apache.commons:commons-math3:3.6.1'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:32.1.2-jre'
implementation 'info.picocli:picocli:4.7.4'
implementation 'com.google.guava:guava:32.1.2-jre'
implementation "io.grpc:grpc-protobuf:1.57.1"
implementation "io.grpc:grpc-stub:1.57.1"
implementation "io.grpc:grpc-services:1.57.1"
implementation "io.grpc:grpc-testing:1.57.1"
implementation "io.cloudquery:plugin-pb-java:0.0.5"
implementation "org.apache.arrow:arrow-vector:12.0.1"
testImplementation 'org.assertj:assertj-core:3.24.2'
}
testing {
suites {
// Configure the built-in test suite
test {
// Use JUnit4 test framework
useJUnit('4.13.2')
}
}
}
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(20)
}
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/cloudquery/plugin-sdk-java")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}