-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (45 loc) · 1.22 KB
/
build.gradle
File metadata and controls
54 lines (45 loc) · 1.22 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
plugins {
id 'java'
id "com.microsoft.azure.azurefunctions" version "1.11.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.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'io.rest-assured:rest-assured:5.3.0'
testImplementation 'io.rest-assured:json-path:5.3.0'
}
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"
}