1
1
buildscript {
2
2
repositories {
3
+ mavenCentral()
3
4
jcenter()
5
+ maven {
6
+ url ' https://plugins.gradle.org/m2/'
7
+ }
4
8
}
5
9
dependencies {
6
- classpath ' com.netflix.nebula:gradle-ospackage-plugin:5.3.0' // RPM & DEB support
7
- classpath ' edu.sc.seis.gradle:launch4j:2.4.4'
8
- classpath ' net.sf.proguard:proguard-gradle:6.1.0'
10
+ classpath ' com.netflix.nebula:gradle-ospackage-plugin:9.1.1'
11
+ classpath ' edu.sc.seis.launch4j:launch4j:3.0.5'
12
+ classpath(' com.guardsquare:proguard-gradle:7.3.2' ) {
13
+ exclude group : ' com.android.tools.build'
14
+ }
9
15
}
10
16
}
11
17
@@ -15,7 +21,7 @@ apply plugin: 'edu.sc.seis.launch4j'
15
21
apply plugin : ' nebula.ospackage'
16
22
17
23
// Common configuration //
18
- rootProject. version= ' 1.6.6 '
24
+ rootProject. version = ' 1.7.0 '
19
25
rootProject. ext. set(' jdCoreVersion' , ' 1.1.3' )
20
26
targetCompatibility = ' 1.8'
21
27
63
69
subprojects. each { subproject ->
64
70
from subproject. sourceSets. main. output. classesDirs
65
71
from subproject. sourceSets. main. output. resourcesDir
66
- deps + = subproject. configurations. runtime - subproject. configurations. provided
72
+ deps + = subproject. configurations. runtimeClasspath - subproject. configurations. provided
67
73
}
68
74
subprojects. each { subproject ->
69
75
deps - = subproject. jar. archivePath
@@ -114,10 +120,10 @@ launch4j {
114
120
115
121
version = textVersion = project. version
116
122
fileDescription = productName = ' JD-GUI'
117
- errTitle ' JD-GUI Windows Wrapper'
118
- copyright ' JD-GUI (C) 2008-2019 Emmanuel Dupuy'
119
- icon projectDir. path + ' /src/launch4j/resources/images/jd-gui.ico'
120
- jar projectDir . path + ' / ' + proguard. outJarFiles[ 0 ]
123
+ errTitle = ' JD-GUI Windows Wrapper'
124
+ copyright = ' JD-GUI (C) 2008-2019 Emmanuel Dupuy'
125
+ icon = projectDir. path + ' /src/launch4j/resources/images/jd-gui.ico'
126
+ jarTask = proguard
121
127
bundledJrePath = ' %JAVA_HOME%'
122
128
}
123
129
0 commit comments