SetupBuilder
SetupBuilder copied to clipboard
Gradle kts 7.2 dmg build throws exception
By running your plugin with gradle 7.2 and plugin version 7.2.13, an exception is thrown that the property codeSigning of type Dmg is missing an input or output annotation.
I think i might miss an option thats required. Whats the minimal options that i need to build a dmg file? Excluding general options of setupBuilder, of cause.
Can you try this fix?
I also get an error on 'appBuilder' property (output below). I'm happy to try a fix, what do I need to change to try the fixed version?
- In plugin 'de.inetsoftware.setupbuilder' type 'com.inet.gradle.appbundler.AppBundlerGradleTask' property 'appBuilder' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'de.inetsoftware.setupbuilder' type 'com.inet.gradle.appbundler.AppBundlerGradleTask' property 'codeSign' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
I'm happy to try a fix, what do I need to change to try the fixed version?
You need to checkout it and build it with Gradle 7.2 or higher. You need run the tasks clean publish
. This should build it to the location ../repo
. Then you can use it with:
buildscript {
repositories {
maven {
url uri('../repo')
}
}
dependencies {
classpath "de.inetsoftware:SetupBuilder:+"
}
}
apply plugin: "de.inetsoftware.setupbuilder"
Can you try this fix?
sry for the late reply, but currently im running out ouf time, but i wanted to say thank you for your quick response.
@Horcrux7 — Any chance of a release including these fixes? Thanks!
We will make a new release in some days.
There is a new release. Sorry for the delay. There was problems with Travis.