-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (58 loc) · 1.78 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'
id 'application'
id 'maven-publish'
}
publishing {
publications {
maven(MavenPublication) {
groupId 'com.google.zetasql.toolkit'
artifactId 'zetasql-toolkit-core'
version '0.1-SNAPSHOT'
from components.java
pom {
withXml {
asNode().appendNode('dependencies').appendNode('dependency').with {
appendNode('groupId', 'com.google.zetasql.toolkit')
appendNode('artifactId', 'zetasql-toolkit-core')
appendNode('version', '0.1-SNAPSHOT')
}
}
}
}
}
repositories {
maven {
url "$buildDir/repo"
}
}
}
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
dependencies {
implementation 'com.google.zetasql:zetasql-client:2022.08.1'
implementation 'com.google.zetasql:zetasql-jni-channel:2022.08.1'
implementation 'com.google.zetasql.toolkit:zetasql-toolkit-core:0.1-SNAPSHOT'
implementation 'com.google.cloud:google-cloud-bigquery:2.24.5'
implementation 'com.google.auth:google-auth-library-oauth2-http:1.16.1'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'org.slf4j:slf4j-api:2.0.7'
implementation 'org.slf4j:slf4j-simple:2.0.7'
implementation 'io.grpc:grpc-netty-shaded:1.54.0'
testImplementation 'junit:junit:4.13'
}
application {
mainClassName = 'zetasql.java.App'
}
run {
if (project.hasProperty('appArgs')) {
args appArgs.split('(__SEP__)')
}
}
task buildMaven(type: Exec) {
workingDir 'zetasql-toolkit-core'
commandLine 'sh', './mvnw', 'clean', 'install', '-DskipTests'
}