Skip to content

Commit

Permalink
Downgrading the source/target compatibility to Java 11 (except for
Browse files Browse the repository at this point in the history
owl-doc) to be usable in Java 11 environment.
  • Loading branch information
melaasar committed Sep 13, 2024
1 parent 41bf11f commit ff69b47
Show file tree
Hide file tree
Showing 37 changed files with 95 additions and 89 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
subprojects {
group = 'io.opencaesar.owl'
version = '2.10.0'
version = '2.11.0'

ext.versions = [
owl: '5.1.17',
Expand Down Expand Up @@ -30,8 +30,8 @@ subprojects {
apply plugin: 'idea'
apply from: "${rootDir}/gradle/maven-deployment.gradle"

sourceCompatibility = '17'
targetCompatibility = '17'
sourceCompatibility = '11'
targetCompatibility = '11'

java {
withJavadocJar()
Expand Down
2 changes: 1 addition & 1 deletion owl-close-world/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-close-world/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-diff/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-diff/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
3 changes: 3 additions & 0 deletions owl-doc-gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ dependencies {
implementation "xml-resolver:xml-resolver:${versions.xmlresolver}"
implementation "commons-io:commons-io:${versions.commonsIo}"
}

sourceCompatibility = '17'
targetCompatibility = '17'
7 changes: 5 additions & 2 deletions owl-doc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ dependencies {
implementation "net.sourceforge.plantuml:plantuml:${versions.plantuml}"
implementation "org.jsoup:jsoup:${versions.jsoup}"
implementation "org.jgrapht:jgrapht-core:${versions.jgrapht}"

}
}

sourceCompatibility = '17'
targetCompatibility = '17'

2 changes: 1 addition & 1 deletion owl-fuseki-gradle/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-fuseki-gradle/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-fuseki/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-fuseki/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-load-gradle/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-load-gradle/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-load/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-load/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-query-gradle/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-query-gradle/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-query/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-query/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
2 changes: 1 addition & 1 deletion owl-reason-gradle/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
6 changes: 3 additions & 3 deletions owl-reason-gradle/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=11
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,32 @@ public OwlReasonTask() {
}

/**
* The required gradle task input file for the OASIS XML catalog.
* Path to an OASIS XML catalog for OWL files (Optional)
*
* @return File Property
*/
@Input
public abstract Property<File> getCatalogPath();

/**
* The required gradle task input list of input file extensions;
* owl by default, options: owl, rdf, xml, rj, ttl, n3, nt, trig, nq, trix, jsonld, fss
* List of input file extensions (Optional, owl by default
* options: owl, rdf, xml, rj, ttl, n3, nt, trig, nq, trix, jsonld, fss)
*
* @return List of Strings Proprty
*/
@Input
public abstract ListProperty<String> getInputFileExtensions();

/**
* The required gradle task input list of output ontologies for different sets of entailment statement types.
* List of specifications for output ontologies having specific entailment statement types (format is IRI=statement-types)
*
* @return List of Strings Property
*/
@Input
public abstract ListProperty<String> getSpecs();

/**
* The optional gradle task output string property for the reasoner entailment results (default is ttl).
* File extension for the output files containing ontology entailment (default is ttl).
* options: owl, rdf, xml, rj, ttl, n3, nt, trig, nq, trix, jsonld, fss
*
* @return String Property
Expand All @@ -69,15 +69,15 @@ public OwlReasonTask() {
public abstract Property<String> getOutputFileExtension();

/**
* The required gradle task input string property for the ontology IRI.
* The required gradle task input string property for the ontology IRI (Optional)
*
* @return String Property
*/
@Input
public abstract Property<String> getInputOntologyIri();

/**
* The optional gradle task input string property for the reasoner explanation format (default is owl).
* Reasoner explanation format (Optional, default is owl).
* options: owl, rdf, xml, rj, ttl, n3, nt, trig, nq, trix, jsonld, fss
*
* @return String Property
Expand All @@ -87,7 +87,7 @@ public OwlReasonTask() {
public abstract Property<String> getExplanationFormat();

/**
* The optional gradle task input boolean property for using the unique name assumption while reasoning
* Use unique name assumption while reasoning (Optional, false by default)
*
* @return Boolean Property
*/
Expand All @@ -96,15 +96,15 @@ public OwlReasonTask() {
public abstract Property<Boolean> getUniqueNames();

/**
* The required gradle task output file property for the reasoner reports.
* Path of reasoner reports (Required).
*
* @return RegularFile Property
*/
@OutputFile
public abstract RegularFileProperty getReportPath();

/**
* The optional txt file listing all analyzed ontology IRIs (one per line).
* Path of an output (txt) file containing all ontology IRIs in the dataset (one per line) (Optional).
*
* @return RegularFile Property
*/
Expand All @@ -113,7 +113,7 @@ public OwlReasonTask() {
public abstract Property<File> getOutputOntologyIrisPath();

/**
* The optional gradle task input boolean property for removing entailments due to unsatisfiability (default is true).
* Whether to remove entailments due to unsatisfiability (Optional, default is true).
*
* @return Boolean Property
*/
Expand All @@ -122,7 +122,7 @@ public OwlReasonTask() {
public abstract Property<Boolean> getRemoveUnsats();

/**
* The optional gradle task input boolean property for checking minimum cardinality restrictions (default is true).
* Whether to check minimum cardinality restrictions (default is true).
*
* @return Boolean Property
*/
Expand All @@ -131,7 +131,7 @@ public OwlReasonTask() {
public abstract Property<Boolean> getCheckMinimumCardinality();

/**
* The optional gradle task input boolean property for removing the backbone ontology (default is true).
* Whether to remove the backbone ontology (default is true).
*
* @return Boolean Proeprty
*/
Expand All @@ -140,7 +140,7 @@ public OwlReasonTask() {
public abstract Property<Boolean> getRemoveBackbone();

/**
* The optional gradle task backbone ontology input property (default is http://opencaesar.io/oml).
* IRI of the backbone ontology (Optional, default is http://opencaesar.io/oml).
*
* @return String Property
*/
Expand All @@ -149,7 +149,7 @@ public OwlReasonTask() {
public abstract Property<String> getBackboneIri();

/**
* The optional gradle task indent property (default is 2).
* Length of the indent property (Optional, default is 2).
*
* @return Integer Property
*/
Expand All @@ -158,7 +158,7 @@ public OwlReasonTask() {
public abstract Property<Integer> getIndent();

/**
* The optional gradle task omit explanations property (default is false).
* Whether to omit explanations (Optional, default is false).
*
* @return Integer Property
*/
Expand All @@ -167,7 +167,7 @@ public OwlReasonTask() {
public abstract Property<Boolean> getOmitExplanations();

/**
* The optional gradle task debug property (default is false).
* Whether to enable debugging (Optional, default is false).
*
* @return Boolean Property
*/
Expand Down
Loading

0 comments on commit ff69b47

Please sign in to comment.