-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (47 loc) · 1.34 KB
/
build.gradle
File metadata and controls
56 lines (47 loc) · 1.34 KB
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
plugins {
id 'java'
id "com.microsoft.azure.azurefunctions" version "1.16.1"
}
group 'com.functions'
version '0.1.0-SNAPSHOT'
repositories {
mavenLocal()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
mavenCentral()
}
dependencies {
implementation project(':client')
implementation project(':azurefunctions')
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
testImplementation platform('org.junit:junit-bom:5.14.2')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'io.rest-assured:rest-assured:5.5.7'
testImplementation 'io.rest-assured:json-path:5.5.7'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
compileJava.options.encoding = 'UTF-8'
task sampleTest(type: Test) {
useJUnitPlatform {
includeTags 'sampleTest'
}
dependsOn build
testLogging.showStandardStreams = true
}
azurefunctions {
resourceGroup = 'java-functions-group'
appName = 'azure-functions-sample'
pricingTier = 'Consumption'
region = 'westus'
runtime {
os = 'Windows'
javaVersion = 'Java 8'
}
auth {
type = 'azure_cli'
}
localDebug = "transport=dt_socket,server=y,suspend=n,address=5005"
}