-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
63 lines (56 loc) · 1.35 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
53
54
55
56
57
58
59
60
61
62
63
buildscript {
ext {
myRepos = {
mavenLocal()
jcenter()
maven {
url "https://aminocom2.jfrog.io/artifactory/FokusOnPublic"
credentials {
username = gradleUsername
password = gradlePassword
}
}
}
}
repositories myRepos
dependencies {
classpath "com.nordija:gitMavenVersioning:2.2.+"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.29.0"
}
}
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'groovy'
apply plugin: 'maven-publish'
dependencies {
compile gradleApi()
compile localGroovy()
}
apply plugin: 'maven'
repositories myRepos
artifactory {
contextUrl = 'https://aminocom2.jfrog.io/artifactory/'
publish {
repository {
repoKey = 'fokuson-public-release-local'
username = gradleUsername
password = gradlePassword
maven = true
}
defaults {
publications ('mavenJava')
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
apply plugin: 'com.nordija.versionManager'
plugins.apply com.nordija.VersionManagerPlugin
dependencies {
testCompile 'junit:junit:4.11'
}
group = 'com.nordija'