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

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 1dc6f94da8 Resolve a new Gradle warning which appears with Gradle 8.3. 
Edit the RExADME.md file.
1dc6f94da8 is described below

commit 1dc6f94da8238d991c257297d4918b24f250a082
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Wed Sep 27 00:38:35 2023 +0200

    Resolve a new Gradle warning which appears with Gradle 8.3.
    Edit the RExADME.md file.
---
 README.md                  | 24 +++++++++++++++++++++---
 endorsed/build.gradle.kts  | 34 +++++++++++++++++-----------------
 incubator/build.gradle.kts |  6 +++---
 optional/build.gradle.kts  |  2 +-
 4 files changed, 42 insertions(+), 24 deletions(-)

diff --git a/README.md b/README.md
index 2289a852d7..e9919f5c0b 100644
--- a/README.md
+++ b/README.md
@@ -24,19 +24,37 @@ Apache SIS, SIS, Apache, the Apache feather logo, and the 
Apache SIS
 project logo are trademarks of The Apache Software Foundation.
 
 
-## Getting Started
+## Build from sources
 
 Running the library part of Apache SIS requires Java 11 or higher.
 Running the JavaFX application part requires Java 16 or higher.
 Building SIS requires Java 18 or higher
-together with [Gradle](https://gradle.org/) build system.
+together with [Gradle](https://gradle.org/) 8 build system.
 To build SIS, use the following command in this directory:
 
     gradle assemble
 
+The JAR files will be located in the following directories,
+together with their dependencies:
+
+* `endorsed/build/libs/`  (core library)
+* `optional/build/libs/`  (requires JavaFX)
+* `incubator/build/libs/` (not yet released)
+
+If JAR files seem missing, try `gradle jar`.
+For publishing to the local `~/.m2` repository
+(for example, for use with Maven projects):
+
+    gradle publishToMavenLocal
+
+
+## Getting Started
+
 Information for running a [command-line 
tool](https://sis.apache.org/command-line.html)
 or an [optional JavaFX application](https://sis.apache.org/javafx.html)
-can be found on the web site.
+can be found on the web site. Java code examples for some common tasks
+are given in the [How to…](https://sis.apache.org/howto.html) pages.
+Complete API can be browsed in [online 
Javadoc](https://sis.apache.org/apidocs/index.html).
 
 
 ## License (see also LICENSE)
diff --git a/endorsed/build.gradle.kts b/endorsed/build.gradle.kts
index 82fe277188..3a545e2d08 100644
--- a/endorsed/build.gradle.kts
+++ b/endorsed/build.gradle.kts
@@ -236,7 +236,7 @@ publishing {
         create<MavenPublication>("util") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-utility"
-            artifact(file("${buildDir}/libs/org.apache.sis.util.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.util.jar"))
             pom {
                 name        = "Apache SIS utilities"
                 description = "Units of measurement and miscellaneous utility 
methods required by Apache SIS."
@@ -245,7 +245,7 @@ publishing {
         create<MavenPublication>("metadata") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-metadata"
-            artifact(file("${buildDir}/libs/org.apache.sis.metadata.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.metadata.jar"))
             pom {
                 name        = "Apache SIS metadata"
                 description = "Implementations of metadata derived from ISO 
19115. " +
@@ -256,7 +256,7 @@ publishing {
         create<MavenPublication>("referencing") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-referencing"
-            artifact(file("${buildDir}/libs/org.apache.sis.referencing.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.referencing.jar"))
             pom {
                 name        = "Apache SIS referencing"
                 description = "Implementations of Coordinate Reference Systems 
(CRS), " +
@@ -266,7 +266,7 @@ publishing {
         create<MavenPublication>("referencing.gazetteer") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-referencing-by-identifiers"
-            
artifact(file("${buildDir}/libs/org.apache.sis.referencing.gazetteer.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.referencing.gazetteer.jar"))
             pom {
                 name        = "Apache SIS referencing by geographic 
identifiers"
                 description = "Implementations of Spatial Reference Systems 
using Geographic Identifiers " +
@@ -276,7 +276,7 @@ publishing {
         create<MavenPublication>("feature") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-feature"
-            artifact(file("${buildDir}/libs/org.apache.sis.feature.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.feature.jar"))
             pom {
                 name        = "Apache SIS features"
                 description = "Representations of geographic features. " +
@@ -286,7 +286,7 @@ publishing {
         create<MavenPublication>("portrayal") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-portrayal"
-            artifact(file("${buildDir}/libs/org.apache.sis.portrayal.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.portrayal.jar"))
             pom {
                 name        = "Apache SIS portrayal"
                 description = "Symbology and map representations, together 
with a rendering engine for display."
@@ -295,7 +295,7 @@ publishing {
         create<MavenPublication>("storage") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-storage"
-            artifact(file("${buildDir}/libs/org.apache.sis.storage.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.jar"))
             pom {
                 name        = "Apache SIS common storage"
                 description = "Provides the interfaces and base classes to be 
implemented by various storage formats."
@@ -304,7 +304,7 @@ publishing {
         create<MavenPublication>("storage.xml") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-xmlstore"
-            artifact(file("${buildDir}/libs/org.apache.sis.storage.xml.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.xml.jar"))
             pom {
                 name        = "Apache SIS XML storage"
                 description = "Read and write files in the GPX format."
@@ -313,7 +313,7 @@ publishing {
         create<MavenPublication>("storage.netcdf") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-netcdf"
-            
artifact(file("${buildDir}/libs/org.apache.sis.storage.netcdf.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.netcdf.jar"))
             pom {
                 name        = "Apache SIS netCDF storage"
                 description = "Bridge between netCDF Climate and Forecast (CF) 
convention and ISO 19115 metadata."
@@ -322,7 +322,7 @@ publishing {
         create<MavenPublication>("storage.geotiff") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-geotiff"
-            
artifact(file("${buildDir}/libs/org.apache.sis.storage.geotiff.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.geotiff.jar"))
             pom {
                 name        = "Apache SIS GeoTIFF storage"
                 description = "Cloud Optimized GeoTIFF reader and bridge to 
ISO 19115 metadata."
@@ -331,7 +331,7 @@ publishing {
         create<MavenPublication>("storage.earthobservation") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-earth-observation"
-            
artifact(file("${buildDir}/libs/org.apache.sis.storage.earthobservation.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.earthobservation.jar"))
             pom {
                 name        = "Apache SIS Earth Observation storage"
                 description = "Read a directory of Landsat files as a single 
resource."
@@ -340,7 +340,7 @@ publishing {
         create<MavenPublication>("storage.sql") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-sqlstore"
-            artifact(file("${buildDir}/libs/org.apache.sis.storage.sql.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.sql.jar"))
             pom {
                 name        = "Apache SIS SQL storage"
                 description = "Read and write features from SQL databases."
@@ -349,7 +349,7 @@ publishing {
         create<MavenPublication>("cloud.aws") {
             groupId    = "org.apache.sis.cloud"
             artifactId = "sis-cloud-aws"
-            artifact(file("${buildDir}/libs/org.apache.sis.cloud.aws.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.cloud.aws.jar"))
             pom {
                 name        = "Apache SIS storage from Amazon AWS S3"
                 description = "Provides access to Amazon AWS S3 storage from 
Apache SIS data stores."
@@ -358,7 +358,7 @@ publishing {
         create<MavenPublication>("profile.france") {
             groupId    = "org.apache.sis.profiles"
             artifactId = "sis-french-profile"
-            
artifact(file("${buildDir}/libs/org.apache.sis.profile.france.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.profile.france.jar"))
             pom {
                 name        = "Apache SIS French profiles"
                 description = "Extensions to ISO-19115 metadata mandated by 
the French government."
@@ -367,7 +367,7 @@ publishing {
         create<MavenPublication>("profile.japan") {
             groupId    = "org.apache.sis.profiles"
             artifactId = "sis-japan-profile"
-            artifact(file("${buildDir}/libs/org.apache.sis.profile.japan.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.profile.japan.jar"))
             pom {
                 name        = "Apache SIS Japanese profiles"
                 description = "Extensions to netCDF reader for file formats 
published by Japanese Aerospace Exploration Agency (JAXA)."
@@ -376,7 +376,7 @@ publishing {
         create<MavenPublication>("console") {
             groupId    = "org.apache.sis.application"
             artifactId = "sis-console"
-            artifact(file("${buildDir}/libs/org.apache.sis.console.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.console.jar"))
             pom {
                 name        = "Apache SIS console"
                 description = "Console application."
@@ -385,7 +385,7 @@ publishing {
         create<MavenPublication>("openoffice") {
             groupId    = "org.apache.sis.application"
             artifactId = "sis-openoffice"
-            artifact(file("${buildDir}/libs/org.apache.sis.openoffice.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.openoffice.jar"))
             pom {
                 name        = "Bridges to Apache OpenOffice or LibreOffice"
                 description = "Provides some Apache SIS functionalities as 
Apache OpenOffice addins. " +
diff --git a/incubator/build.gradle.kts b/incubator/build.gradle.kts
index 86cec2320e..ef4227ef12 100644
--- a/incubator/build.gradle.kts
+++ b/incubator/build.gradle.kts
@@ -117,7 +117,7 @@ publishing {
         create<MavenPublication>("cql") {
             groupId    = "org.apache.sis.core"
             artifactId = "sis-cql"
-            artifact(file("${buildDir}/libs/org.apache.sis.cql.jar"))
+            artifact(layout.buildDirectory.file("libs/org.apache.sis.cql.jar"))
             pom {
                 name        = "Apache SIS CQL"
                 description = "CQL parser."
@@ -126,7 +126,7 @@ publishing {
         create<MavenPublication>("storage.shapefile") {
             groupId    = "org.apache.sis.storage"
             artifactId = "sis-shapefile"
-            
artifact(file("${buildDir}/libs/org.apache.sis.storage.shapefile.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.storage.shapefile.jar"))
             pom {
                 name        = "Apache SIS Shapefile storage"
                 description = "Read and write files in the Shapefile format."
@@ -135,7 +135,7 @@ publishing {
         create<MavenPublication>("webapp") {
             groupId    = "org.apache.sis.application"
             artifactId = "sis-webapp"
-            artifact(file("${buildDir}/libs/org.apache.sis.webapp.jar"))
+            
artifact(layout.buildDirectory.file("libs/org.apache.sis.webapp.jar"))
             pom {
                 name        = "Apache SIS web services layer"
                 description = "Placeholder for future developments."
diff --git a/optional/build.gradle.kts b/optional/build.gradle.kts
index 27d33fd534..f7dcb18634 100644
--- a/optional/build.gradle.kts
+++ b/optional/build.gradle.kts
@@ -157,7 +157,7 @@ publishing {
         create<MavenPublication>("gui") {
             groupId    = "org.apache.sis.application"
             artifactId = "sis-javafx"
-            artifact(file("${buildDir}/libs/org.apache.sis.gui.jar"))
+            artifact(layout.buildDirectory.file("libs/org.apache.sis.gui.jar"))
             pom {
                 name        = "Apache SIS application for JavaFX (optional)"
                 description = "Client application for JavaFX. " +

Reply via email to