SDK
ECHO Native SDK Maven Artifacts
./gradlew publishToMavenLocal
ECHO Native SDK Maven Artifacts
Local Publishing
# Publish all SDK artifacts to local Maven repo
./gradlew publishToMavenLocal
Artifacts are installed to ~/.m2/repository/dev/echo/native/.
Artifacts
| Artifact ID | Type | Coordinates | Description |
|---|---|---|---|
| echoaddonapi | library | dev.echo.native:echoaddonapi:1.0.0-RC | Public addon API surface. |
| echo-native-contracts | library | dev.echo.native:echo-native-contracts:1.0.0-RC | Runtime contracts and descriptors. |
| echo-sdk-gradle-plugin | plugin | dev.echo.native:echo-sdk-gradle-plugin:1.0.0-RC | Build plugin for addon projects. |
| echo-native-testkit | library | dev.echo.native:echo-native-testkit:1.0.0-RC | Headless loader tests. |
Verification
# List local artifacts
ls ~/.m2/repository/dev/echo/native/
# Verify source jars exist
ls ~/.m2/repository/dev/echo/native/echoaddonapi/1.0.0-RC/
# Expected: echoaddonapi-1.0.0-RC.jar, echoaddonapi-1.0.0-RC-sources.jar
Consuming in an Addon
plugins {
id 'dev.echo.native.echo-sdk-gradle-plugin' version '1.0.0-RC'
}
dependencies {
implementation 'dev.echo.native:echoaddonapi:1.0.0-RC'
implementation 'dev.echo.native:echo-native-contracts:1.0.0-RC'
testImplementation 'dev.echo.native:echo-native-testkit:1.0.0-RC'
}
Snapshot / Release Repositories
- Snapshots:
https://maven.echo.dev/snapshots - RCs:
https://maven.echo.dev/rc - Releases:
https://maven.echo.dev/releases
Acceptance
echoaddonapisource jar present.echo-native-contractssource jar present.echo-sdk-gradle-pluginartifact resolvable.- All artifacts publish to local Maven without errors.