Skip to content

Commit 739024c

Browse files
committed
Merge branch 'develop' into post-java8-features
2 parents 3337098 + e97d220 commit 739024c

File tree

3 files changed

+22
-33
lines changed

3 files changed

+22
-33
lines changed

Procyon.Decompiler/build.gradle

+6-21
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
1-
buildscript {
2-
repositories {
3-
jcenter()
4-
}
5-
6-
dependencies {
7-
classpath 'eu.appsatori:gradle-fatjar-plugin:0.3'
8-
}
9-
}
10-
11-
jar.enabled = false
121
uploadArchives.enabled = false
132

14-
apply plugin: 'eu.appsatori.fatjar'
15-
16-
fatJar {
17-
from rootProject.allprojects.collect({ it.sourceSets.main.allSource })
18-
3+
jar {
194
manifest {
205
attributes 'Title': archivesBaseName, 'Manifest-Version': '1.0', 'Version': version, 'Main-Class' : 'com.strobel.decompiler.DecompilerDriver'
216
}
7+
8+
from {
9+
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
10+
}
2211
}
2312

2413
dependencies {
25-
compile 'com.beust:jcommander:1.81'
14+
compile 'com.beust:jcommander:1.78'
2615
compile project(':Procyon.Core')
2716
compile project(':Procyon.CompilerTools')
2817
}
29-
30-
artifacts {
31-
archives fatJar
32-
}

build.gradle

+15-11
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ext.getProcyonVersion = { ->
2525
}
2626
}
2727

28-
logger.warn("wARNING: Could not resolve version from source; falling back to '$fallbackVersion'.")
28+
logger.warn("WARNING: Could not resolve version from source; falling back to '$fallbackVersion'.")
2929

3030
return fallbackVersion
3131
}
@@ -41,15 +41,15 @@ allprojects {
4141

4242
version procyonVersion
4343

44-
group 'org.bitbucket.mstrobel'
44+
group 'com.github.mstrobel'
4545
sourceCompatibility = 1.7 // JDK version
4646

4747
repositories {
4848
mavenCentral()
4949
}
5050

5151
dependencies {
52-
testCompile 'junit:junit:4.11'
52+
testCompile 'junit:junit:4.13.2'
5353
}
5454
}
5555

@@ -121,7 +121,12 @@ subprojects {
121121
}
122122
}
123123

124-
if (project.name != "Procyon.Decompiler") {
124+
if (project.name == "Procyon.Decompiler") {
125+
artifacts {
126+
archives jar
127+
}
128+
}
129+
else {
125130
javadoc {
126131
options.encoding = 'UTF-8'
127132
}
@@ -165,17 +170,17 @@ subprojects {
165170
name project.archivesBaseName
166171
packaging 'jar'
167172
description 'Procyon'
168-
url 'https://bitbucket.org/mstrobel/procyon'
173+
url 'https://github.com/mstrobel/procyon'
169174

170175
scm {
171-
url 'https://bitbucket.org/mstrobel/procyon'
172-
connection 'scm:hg:https://[email protected]/mstrobel/procyon'
173-
developerConnection 'scm:hg:https://mstrobel@bitbucket.org/mstrobel/procyon'
176+
url 'https://github.com/mstrobel/procyon'
177+
connection 'scm:git:https://github.com/mstrobel/procyon.git'
178+
developerConnection 'scm:git:https://mstrobel@github.com/mstrobel/procyon.git'
174179
}
175180

176181
issueManagement {
177-
system 'jira'
178-
url 'https://bitbucket.org/mstrobel/procyon/issues'
182+
system 'github'
183+
url 'https://github.com/mstrobel/procyon/issues'
179184
}
180185

181186
licenses {
@@ -213,4 +218,3 @@ subprojects {
213218
}
214219
}
215220
}
216-

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Sun Oct 27 14:39:59 EDT 2019
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-all.zip
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip
33
distributionBase=GRADLE_USER_HOME
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)