-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
93 lines (78 loc) · 2.43 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
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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
group = 'com.heisenbugdev.gradle'
version = '1.0'
archivesBaseName = 'HeisenGradle'
targetCompatibility = '1.6'
sourceCompatibility = '1.6'
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'version':project.version, 'javaCompliance': project.targetCompatibility
attributes 'group':project.group
}
}
configurations {
deployerJars
}
dependencies {
compile gradleApi()
compile 'com.google.code.gson:gson:2.2.4' // JSON parser
// http stuff (may not need)
compile 'org.apache.httpcomponents:httpclient:4.3.3'
compile 'org.apache.httpcomponents:httpmime:4.3.3'
deployerJars "org.apache.maven.wagon:wagon-ssh:2.2"
deployerJars "org.kuali.maven.wagons:maven-s3-wagon:1.2.2-SNAPSHOT"
}
artifacts { archives jar }
uploadArchives
{
repositories.mavenDeployer
{
configuration = configurations.deployerJars
repository(url: "sftp://repo.jadarstudios.com/maven") {
//
//
authentication(userName: System.getenv().username, password: System.getenv().password)
}
pom.project {
name project.archivesBaseName
artifactId project.archivesBaseName
packaging 'jar'
description 'HeisenBugDev-gradle uploads mod artifacts to HeisenBugDev.com'
url 'http://heisenbugdev.com/'
scm {
url 'https://github.com/HeisenBugDev/HeisenBugDev-Gradle'
connection 'scm:git:git://github.com/HeisenBugDev/HeisenBugDev-Gradle.git'
developerConnection 'scm:git:[email protected]:HeisenBugDev/HeisenBugDev-Gradle.git'
}
issueManagement {
system 'github'
url 'https://github.com/HeisenBugDev/HeisenBugDev-Gradle/issues'
}
licenses {
license {
name 'GPL'
url 'https://raw.githubusercontent.com/HeisenBugDev/HeisenBugDev-Gradle/master/LICENSE'
distribution 'repo'
}
}
developers {
developer {
id 'jadar'
name 'Jadar'
roles { role 'developer' }
}
developer {
id 'hunterb'
name 'Hunter Boerner'
roles { role 'developer' }
}
}
}
}
}