This is an automated email from the ASF dual-hosted git repository.

jsorel pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit d9f2440486c7fca6cb8d749a57afe2694f2c90ad
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Wed Mar 26 11:14:33 2025 +0100

    Create an initially empty geometry module.
---
 .../apache/sis/buildtools/gradle/Dependency.java   |  1 +
 incubator/build.gradle.kts                         | 12 +++++++++++
 .../org.apache.sis.geometry/main/module-info.java  | 24 ++++++++++++++++++++++
 3 files changed, 37 insertions(+)

diff --git 
a/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java 
b/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java
index 2e7c46bca3..6900186a82 100644
--- a/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java
+++ b/buildSrc/src/main/java/org/apache/sis/buildtools/gradle/Dependency.java
@@ -71,6 +71,7 @@ public final class Dependency {
         Map.entry("database",                 "non-free:sis-embedded-data"),   
     // Optional.
         Map.entry("gui",                      "application:sis-javafx"),       
     // Optional.
         Map.entry("cql",                      "core:sis-cql"),                 
     // Incubator.
+        Map.entry("geometry",                 "core:sis-geometry"),            
     // Incubator.
         Map.entry("storage.shapefile",        "storage:sis-shapefile"),
         Map.entry("storage.geoheif",          "storage:sis-geoheif"),
         Map.entry("storage.gsf",              "storage:sis-gsf"),
diff --git a/incubator/build.gradle.kts b/incubator/build.gradle.kts
index 99ea30ae76..228aa7fad8 100644
--- a/incubator/build.gradle.kts
+++ b/incubator/build.gradle.kts
@@ -171,6 +171,18 @@ publishing {
                 description = "CQL parser."
             }
         }
+        create<MavenPublication>("geometry") {
+            var module = "org.apache.sis.geometry"
+            groupId    = "org.apache.sis.core"
+            artifactId = "sis-geometry"
+            artifact(layout.buildDirectory.file("libs/${module}.jar"))
+            artifact(layout.buildDirectory.file("docs/${module}-sources.jar")) 
{classifier = "sources"}
+            artifact(layout.buildDirectory.file("docs/${module}-javadoc.jar")) 
{classifier = "javadoc"}
+            pom {
+                name        = "Apache SIS Geometry"
+                description = "Geometry API."
+            }
+        }
         create<MavenPublication>("storage.shapefile") {
             var module = "org.apache.sis.storage.shapefile"
             groupId    = "org.apache.sis.storage"
diff --git a/incubator/src/org.apache.sis.geometry/main/module-info.java 
b/incubator/src/org.apache.sis.geometry/main/module-info.java
new file mode 100644
index 0000000000..382f34f1ef
--- /dev/null
+++ b/incubator/src/org.apache.sis.geometry/main/module-info.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Geometries.
+ *
+ * @author Johann Sorel (Geomatys)
+ */
+module org.apache.sis.geometry {
+}

Reply via email to