forked from FlowArg/FlowUpdater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
100 lines (84 loc) · 2.49 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
94
95
96
97
98
99
100
import java.nio.charset.StandardCharsets
plugins {
id 'com.jfrog.bintray' version '1.8.5'
}
apply plugin: 'maven-publish'
allprojects {
apply plugin: 'java-library'
apply plugin: 'idea'
group 'fr.flowarg'
compileJava {
options.encoding = StandardCharsets.UTF_8
sourceCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
maven {
url "https://jitpack.io/"
name = "JitPack"
}
}
task sourcesJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allSource
}
dependencies {
api 'com.google.code.gson:gson:2.8.6'
api 'fr.flowarg:flowmultitools:1.2.0'
implementation 'com.github.FlowArg:PluginLoaderAPI:871c5910c6'
}
}
version '1.2.8'
archivesBaseName = "flowupdater"
artifacts {
archives sourcesJar
}
bintray {
user = System.getenv('BINTRAY_USERNAME')
key = System.getenv('BINTRAY_KEY')
publications = ['mavenJava']
pkg {
repo = 'maven'
name = 'FlowUpdater'
userOrg = 'flowarg'
licenses = ['GPL-3.0']
publicDownloadNumbers = true
vcsUrl = 'https://github.com/FlowArg/FlowUpdater.git'
version {
name = 'v' + project.version
released = new Date()
vcsTag = 'v' + project.version
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact tasks.sourcesJar
pom {
groupId = project.group
version = project.version
artifactId = 'flowupdater'
name = project.name
description = 'FlowUpdater is a library for automatically update minecraft versions !'
url = 'https://github.com/FlowArg/FlowUpdater'
issueManagement {
system = 'github'
url = 'https://github.com/FlowArg/FlowUpdater/issues'
}
licenses {
license {
name = 'LICENSE'
url = 'https://github.com/FlowArg/FlowUpdater/blob/master/LICENSE'
distribution = 'repo'
}
}
}
}
}
}
dependencies {
compileOnly project(":CurseForgePlugin")
compileOnly project (":OptifinePlugin")
}