@@ -5,6 +5,7 @@ buildscript {
55 }
66 }
77 dependencies {
8+ apply from : " ${ buildscript.sourceFile.parentFile.parentFile} /scripts/VersionNumber.gradle"
89 apply from : " ${ buildscript.sourceFile.parentFile.parentFile} /scripts/SetupBuilderVersion.gradle"
910 classpath ' de.inetsoftware:SetupBuilder:' + setupBuilderVersion()
1011 }
@@ -44,8 +45,8 @@ setupBuilder {
4445 from jar. outputs
4546
4647 bundleJre = 1.8
47- sourceCompatibility = 1.8
48- targetCompatibility = 1.8
48+ java . sourceCompatibility = 1.8
49+ java . targetCompatibility = 1.8
4950 mainClass = ' com.inet.testapplication.TestLauncher'
5051 mainJar = ' testBuilds.jar'
5152
@@ -110,16 +111,17 @@ msi.dependsOn jar
110111import org.apache.tools.ant.taskdefs.condition.Os
111112task preparePrefPane (type : GradleBuild ) {
112113
113- buildFile ' ../../SetupBuilderOSXPrefPane/build.gradle '
114+ buildDir = ' ../../SetupBuilderOSXPrefPane'
114115 tasks = [' clean' , ' uploadArchives' ]
115116
116117 processResources. dependsOn ' preparePrefPane'
117118
118119 onlyIf {
119- file(buildFile ). exists() && Os . isFamily(Os . FAMILY_MAC )
120+ file(' ../../SetupBuilderOSXPrefPane/build.gradle ' ). exists() && Os . isFamily(Os . FAMILY_MAC )
120121 }
121122}
122123
124+ /* * buildFile does not exits anymore
123125// run the following task as a dependency to the "check"-task.
124126task runAppBundlerTest(type: GradleBuild) {
125127
@@ -145,3 +147,4 @@ task runJNLPBundlerTest(type: GradleBuild) {
145147 file(buildFile).exists() && Os.isFamily(Os.FAMILY_MAC)
146148 }
147149}
150+ */
0 commit comments