-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (33 loc) · 720 Bytes
/
build.gradle
File metadata and controls
38 lines (33 loc) · 720 Bytes
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
plugins {
id 'java'
id 'io.github.stewartbryson.snowflake' version '2.1.22'
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
snowflake {
connection = 'gradle_plugin'
stage = 'upload'
applications {
add_numbers {
inputs = ["a integer", "b integer"]
returns = "string"
runtime = '17'
handler = "Sample.addNum"
}
}
}
version = '0.1.0'
// empty task for matrix strategy execution in GitHub Actions
// please ignore
afterEvaluate {
tasks.register('matrixStrategy') {
description 'Empty task for matrix strategy execution in GitHub Actions.'
dependsOn snowflakeJvm
}
}