Skip to content

Gradle 6.5 javadoc task, addExports is not working #170

@Siedlerchr

Description

@Siedlerchr

Hi,

Gradle 6.5 and jdk15.01
when using the javadoc task and adding the necessary exports (the same as for compile java for the javadoc task), I still get an issue about module not visible:

javadoc {
    options {
        encoding = 'UTF-8'
        version = true
        author = true
    }
      moduleOptions {


        addExports = [
                'javafx.controls/com.sun.javafx.scene.control' : 'org.jabref',
                'org.controlsfx.controls/impl.org.controlsfx.skin' : 'org.jabref'
        ]
        
        
    }
}

/jabref/src/main/java/org/jabref/gui/fieldeditors/TextInputControlBehavior.java:28: error: package com.sun.javafx.scene.control is not visible
import com.sun.javafx.scene.control.Properties;
                           ^
  (package com.sun.javafx.scene.control is declared in module javafx.controls, which does not export it to module org.jabref)
/jabref/src/main/java/org/jabref/gui/actions/ActionFactory.java:19: error: package com.sun.javafx.scene.control is not visible
import com.sun.javafx.scene.control.ContextMenuContent;
                           ^
  (package com.sun.javafx.scene.control is declared in module javafx.controls, which does not export it to module org.jabref)
2 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions