-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
61 lines (52 loc) · 1.59 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
plugins {
id 'java'
id 'maven-publish'
id 'groovy'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
def groupId = 'me.TechsCode'
def artifactId = 'GradleBasePlugin'
// Versioning:
// /---> Major Version - Increment this when you make a breaking change
// | /---> Minor Version - Increment this when you add a new feature
// | | /---> Patch Version - Increment this when you make a bug fix
def versionNum = '4.5.1'
group = groupId
version = versionNum
repositories {
mavenCentral()
mavenLocal()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
compileOnly localGroovy()
compileOnly gradleApi()
implementation 'commons-io:commons-io:2.13.0'
implementation "com.google.code.gson:gson:2.10.1"
implementation 'com.jcraft:jsch:0.1.55'
implementation 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.1.2'
implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
}
publishing {
publications {
maven(MavenPublication) {
groupId
artifactId
versionNum
from components.java
}
}
repositories {
maven {
url 'https://repo.techscode.com/repository/maven-releases/'
credentials {
username = System.getenv('TECHSCODE_USERNAME')
password = System.getenv('TECHSCODE_PASSWORD')
}
}
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8