Skip to content

Commit 7df6adc

Browse files
committed
Terminology changes: native configuration -> JVM reachability metadata
This commit updates the native configuration project according to the latest approved terminology: we're talking about JVM reachability metadata. The extension is now: ```gradle graalvmNative { jvmReachabilityMetadataRepository { ... } } ```
1 parent d4ccf6b commit 7df6adc

File tree

53 files changed

+74
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+74
-76
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Native Configuration Repository
33
on:
44
push:
55
paths:
6-
- 'common/native-config/**'
6+
- 'common/jvm-reachability-metadata/**'
77
pull_request:
88
paths:
9-
- 'common/native-config/**'
9+
- 'common/jvm-reachability-metadata/**'
1010
workflow_dispatch:
1111

1212
jobs:
@@ -26,12 +26,12 @@ jobs:
2626
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
2727
echo "GRAALVM_HOME=$GRAALVM_HOME" >> $GITHUB_ENV
2828
- name: Checkstyle
29-
run: ./gradlew :native-config:checkstyleMain :native-config:checkstyleTest
29+
run: ./gradlew :jvm-reachability-metadata:checkstyleMain :jvm-reachability-metadata:checkstyleTest
3030
- name: JVM test
31-
run: ./gradlew :native-config:test
31+
run: ./gradlew :jvm-reachability-metadata:test
3232
- name: Tests results
3333
if: always()
3434
uses: actions/upload-artifact@v2
3535
with:
3636
name: tests-results
37-
path: common/native-config/build/reports/tests/
37+
path: common/jvm-reachability-metadata/build/reports/tests/

common/native-config/build.gradle.kts renamed to common/jvm-reachability-metadata/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ plugins {
4646
}
4747

4848
maven {
49-
name.set("GraalVM Native Configuration support")
50-
description.set("A library to help dealing with the GraaVM native configuration repository")
49+
name.set("GraalVM JVM Reachability Metadata support")
50+
description.set("A library to help dealing with the GraaVM JVM Reachability Metadata repository")
5151
}
5252

5353
dependencies {

common/native-config/gradle/native-image-testing.gradle renamed to common/jvm-reachability-metadata/gradle/native-image-testing.gradle

File renamed without changes.

common/native-config/gradle/wrapper/gradle-wrapper.jar renamed to common/jvm-reachability-metadata/gradle/wrapper/gradle-wrapper.jar

File renamed without changes.

common/native-config/gradle/wrapper/gradle-wrapper.properties renamed to common/jvm-reachability-metadata/gradle/wrapper/gradle-wrapper.properties

File renamed without changes.
File renamed without changes.

common/native-config/settings.gradle.kts renamed to common/jvm-reachability-metadata/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ plugins {
4848
id("org.graalvm.build.common")
4949
}
5050

51-
rootProject.name = "native-config"
51+
rootProject.name = "jvm-reachability-metadata"

common/native-config/src/main/java/org/graalvm/nativeconfig/NativeConfigurationRepository.java renamed to common/jvm-reachability-metadata/src/main/java/org/graalvm/reachability/JvmReachabilityMetadataRepository.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@
3838
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3939
* SOFTWARE.
4040
*/
41-
package org.graalvm.nativeconfig;
41+
package org.graalvm.reachability;
4242

4343
import java.nio.file.Path;
4444
import java.util.Collection;
4545
import java.util.Set;
4646
import java.util.function.Consumer;
4747

4848
/**
49-
* Interface for accessing a native configuration repository.
49+
* Interface for accessing a reachability metadata repository.
5050
* The goal of this repository is to answer questions like:
5151
* "give me the configuration files for this artifact", where
5252
* an artifact is represented by its GAV coordinates.
@@ -55,7 +55,7 @@
5555
* and provide overrides for cases where configuration files
5656
* are missing.
5757
*/
58-
public interface NativeConfigurationRepository {
58+
public interface JvmReachabilityMetadataRepository {
5959
/**
6060
* Performs a generic query on the repository, returning a list of
6161
* configuration directories. The query may be parameterized with

0 commit comments

Comments
 (0)