@@ -5,6 +5,7 @@ buildscript {
5
5
}
6
6
}
7
7
dependencies {
8
+ apply from : " ${ buildscript.sourceFile.parentFile.parentFile} /scripts/VersionNumber.gradle"
8
9
apply from : " ${ buildscript.sourceFile.parentFile.parentFile} /scripts/SetupBuilderVersion.gradle"
9
10
classpath ' de.inetsoftware:SetupBuilder:' + setupBuilderVersion()
10
11
}
@@ -44,8 +45,8 @@ setupBuilder {
44
45
from jar. outputs
45
46
46
47
bundleJre = 1.8
47
- sourceCompatibility = 1.8
48
- targetCompatibility = 1.8
48
+ java . sourceCompatibility = 1.8
49
+ java . targetCompatibility = 1.8
49
50
mainClass = ' com.inet.testapplication.TestLauncher'
50
51
mainJar = ' testBuilds.jar'
51
52
@@ -110,16 +111,17 @@ msi.dependsOn jar
110
111
import org.apache.tools.ant.taskdefs.condition.Os
111
112
task preparePrefPane (type : GradleBuild ) {
112
113
113
- buildFile ' ../../SetupBuilderOSXPrefPane/build.gradle '
114
+ buildDir = ' ../../SetupBuilderOSXPrefPane'
114
115
tasks = [' clean' , ' uploadArchives' ]
115
116
116
117
processResources. dependsOn ' preparePrefPane'
117
118
118
119
onlyIf {
119
- file(buildFile ). exists() && Os . isFamily(Os . FAMILY_MAC )
120
+ file(' ../../SetupBuilderOSXPrefPane/build.gradle ' ). exists() && Os . isFamily(Os . FAMILY_MAC )
120
121
}
121
122
}
122
123
124
+ /* * buildFile does not exits anymore
123
125
// run the following task as a dependency to the "check"-task.
124
126
task runAppBundlerTest(type: GradleBuild) {
125
127
@@ -145,3 +147,4 @@ task runJNLPBundlerTest(type: GradleBuild) {
145
147
file(buildFile).exists() && Os.isFamily(Os.FAMILY_MAC)
146
148
}
147
149
}
150
+ */
0 commit comments