Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle kts 7.2 dmg build throws exception #107

Closed
Nebdir opened this issue Oct 14, 2021 · 7 comments
Closed

Gradle kts 7.2 dmg build throws exception #107

Nebdir opened this issue Oct 14, 2021 · 7 comments

Comments

@Nebdir
Copy link

Nebdir commented Oct 14, 2021

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.

@Horcrux7
Copy link
Member

Can you try this fix?

@bw-itis-archival
Copy link

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.

Horcrux7 added a commit that referenced this issue Oct 18, 2021
@Horcrux7
Copy link
Member

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"

@Nebdir
Copy link
Author

Nebdir commented Oct 25, 2021

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.

@xian
Copy link

xian commented Nov 8, 2022

@Horcrux7 — Any chance of a release including these fixes? Thanks!

@Horcrux7
Copy link
Member

We will make a new release in some days.

@Horcrux7
Copy link
Member

Horcrux7 commented Jan 2, 2023

There is a new release. Sorry for the delay. There was problems with Travis.

@Horcrux7 Horcrux7 closed this as completed Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants