-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.14 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
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id 'java'
id 'maven-publish'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-core:2.8.8'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.8.8'
implementation 'commons-lang:commons-lang:2.6'
}
group = 'com.npspot'
description = 'Nord Pool Intraday Public API classes'
if (System.getenv("VERSION")) {
version = System.getenv("VERSION")
} else {
version = '1.1.0.0'
}
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
repositories{
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/NordPool/public-intraday-api"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}