-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
98 lines (79 loc) · 2.46 KB
/
build.gradle
File metadata and controls
98 lines (79 loc) · 2.46 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
plugins {
id 'io.codearte.nexus-staging' version '0.11.0'
}
apply plugin: 'java'
apply plugin: 'java-library'
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'com.bmuschko.nexus'
test {
exclude '**/*'
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
maven { url "https://repo.maven.apache.org/maven2" }
jcenter()
//maven { url "http://mvnrepository.com/artifact" }
}
dependencies {
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
compile "io.github.mainstringargs:stock-data-spi:1.1"
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
archivesBaseName = 'alpha-vantage-scraper'
group = 'io.github.mainstringargs.alphavantagescraper'
version = '1.5.1'
modifyPom {
project {
name 'alpha-vantage-scraper'
description 'Scraper Library for Alpha Vantage Stock Data.'
url 'https://github.com/mainstringargs/alpha-vantage-scraper'
inceptionYear '2018'
scm {
url 'https://github.com/mainstringargs/alpha-vantage-scraper'
connection 'https://github.com/mainstringargs/alpha-vantage-scraper.git'
developerConnection 'https://github.com/mainstringargs/alpha-vantage-scraper.git'
}
licenses {
license {
name 'MIT License'
url 'https://opensource.org/licenses/MIT'
distribution 'repo'
}
}
developers {
developer {
id 'mainstringargs'
name 'main(String[] args)'
email 'mainstringargs@github.io'
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
nexusStaging {
packageGroup = "io.github.mainstringargs.alphavantagescraper" //optional if packageGroup == project.getGroup()
}