Skip to content

Commit b044719

Browse files
author
anggrayudi.hardiannico
committed
Updated to the latest Maven Central
1 parent 1ae0556 commit b044719

6 files changed

Lines changed: 12 additions & 9 deletions

File tree

.run/publishComposeToCentral.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="publishComposeToCentral" type="ShConfigurationType">
3-
<option name="SCRIPT_TEXT" value="./gradlew :storage-compose:publishAllPublicationsToMavenCentral" />
3+
<option name="SCRIPT_TEXT" value="./gradlew :storage-compose:publishToMavenCentral" />
44
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
55
<option name="SCRIPT_PATH" value="" />
66
<option name="SCRIPT_OPTIONS" value="" />

.run/publishStorageToCentral.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="publishStorageToCentral" type="ShConfigurationType">
3-
<option name="SCRIPT_TEXT" value="./gradlew :storage:publishAllPublicationsToMavenCentral" />
3+
<option name="SCRIPT_TEXT" value="./gradlew :storage:publishToMavenCentral" />
44
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
55
<option name="SCRIPT_PATH" value="" />
66
<option name="SCRIPT_OPTIONS" value="" />

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ implementation "com.anggrayudi:storage-compose:X.Y.Z"
4949

5050
Where `X.Y.Z` is the library version: ![Maven Central](https://img.shields.io/maven-central/v/com.anggrayudi/storage.svg)
5151

52-
All versions can be found [here](https://oss.sonatype.org/#nexus-search;gav~com.anggrayudi~storage~~~~kw,versionexpand).
52+
All versions can be found here:
53+
- [Simple Storage Core](https://central.sonatype.com/artifact/com.anggrayudi/storage/versions)
54+
- [Simple Storage Jetpack Compose](https://central.sonatype.com/artifact/com.anggrayudi/storage-compose/versions)
55+
5356
To use `SNAPSHOT` version, you need to add this URL to the root Gradle:
5457

5558
```groovy
@@ -58,7 +61,7 @@ allprojects {
5861
google()
5962
mavenCentral()
6063
// add this line
61-
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
64+
maven { url "https://central.sonatype.com/repository/maven-snapshots/" }
6265
}
6366
}
6467
```

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers
2323
# For publishing:
2424
GROUP=com.anggrayudi
2525
VERSION_NAME=2.2.0-SNAPSHOT
26-
RELEASE_SIGNING_ENABLED=false
27-
SONATYPE_AUTOMATIC_RELEASE=true
28-
SONATYPE_HOST=DEFAULT
2926
POM_NAME=storage
3027
POM_DESCRIPTION=Simplify Android Storage Access Framework for file management across API levels.
3128
POM_INCEPTION_YEAR=2020
@@ -39,3 +36,6 @@ POM_SCM_DEV_CONNECTION=scm:git:ssh://github.com:anggrayudi/SimpleStorage.git
3936
POM_DEVELOPER_ID=anggrayudi
4037
POM_DEVELOPER_NAME=Anggrayudi H
4138
POM_DEVELOPER_URL=https://github.com/anggrayudi/
39+
mavenCentralAutomaticPublishing=true
40+
mavenCentralPublishing=true
41+
signAllPublications=false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ android-library = { id = "com.android.library", version.ref = "agp" }
5353
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
5454
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
5555
ksp = { id = "com.google.devtools.ksp", version = "2.1.20-1.0.32" }
56-
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.22.0" }
56+
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.34.0" }
5757
dokka = { id = "org.jetbrains.dokka", version = "2.0.0" }

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencyResolutionManagement {
1717
repositories {
1818
google()
1919
mavenCentral()
20-
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
20+
maven { url = uri("https://central.sonatype.com/repository/maven-snapshots/") }
2121
}
2222
}
2323

0 commit comments

Comments
 (0)