krakowski / gradle-jextract

Gradle plugin for integrating Project Panama's jextract tool
https://plugins.gradle.org/plugin/io.github.krakowski.jextract
GNU General Public License v3.0
53 stars 10 forks source link

How to use "outputDir" option. #13

Closed andrej-szontagh closed 1 year ago

andrej-szontagh commented 2 years ago

Environment

What would you like to ask?

The field is declared as "final" and there doesn't seems to be a method to change the value of the property you can only create new property using provided methods in the documentation: https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html

I am not super versed in Gradle or Groovy so maybe I am only missing something basic, but so far I couldn't figure out how to set the output directory for the Jextract.

andrej-szontagh commented 2 years ago

My bad I was looking for the wrong thing it's DirectoryProperty. https://docs.gradle.org/current/javadoc/org/gradle/api/file/DirectoryProperty.html