Skip to content

Commit

Permalink
refactor: OS to ION lib
Browse files Browse the repository at this point in the history
  • Loading branch information
OS-pedrogustavobilro committed Jan 28, 2025
1 parent c833099 commit aa14634
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 31 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OSFilesystemLib
ion-android-filesystem

The `OSFilesystemLib-Android` is a library built using `Kotlin` that allows management of files on Android applications
The `ion-android-filesystem` is a library built using `Kotlin` that allows management of files on Android applications

Documentation on how to use the library will be added below as the library gets developed.

Expand All @@ -21,11 +21,11 @@ This library is used by both Capacitor and Cordova plugins - Links to them will

## Usage

In your app-level gradle file, import the `OSFilesystemLib` library like so:
In your app-level gradle file, import the `ion-android-filesystem` library like so:

```
dependencies {
implementation("io.ionic.libs:osfilesystem-android:1.0.0")
implementation("io.ionic.libs:iongeolocation-android:1.0.0")
}
```

Expand All @@ -49,8 +49,8 @@ Common issues with the plugin go here.

## License

`OSFilesystemLib` is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
`ion-android-filesystem` is available under the MIT license. See the [LICENSE](LICENSE) file for more info.

## Support

- Report issues on our [Issue Tracker](https://github.com/ionic-team/OSFilesystemLib-Android/issues)
- Report issues on our [Issue Tracker](https://github.com/ionic-team/ion-android-filesystem/issues)
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ plugins {
sonarqube {
// TODO update this information once ionic Sonarqube is available
properties {
property "sonar.projectKey", "OutSystems_OSFilesystemLib-Android"
property "sonar.projectKey", "OutSystems_IONFilesystemLib-Android"
property "sonar.organization", "outsystemsrd"
property "sonar.host.url", "https://sonarcloud.io"
}
Expand All @@ -41,7 +41,7 @@ apply plugin: "kotlin-android"
apply plugin: "jacoco"

android {
namespace "io.ionic.libs.osfilesystemlib"
namespace "io.ionic.libs.ionfilesystemlib"
compileSdk 35

defaultConfig {
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("io.ionic.libs.osfilesystemlib") # e.g. com.krausefx.app
package_name("io.ionic.libs.ionfilesystemlib") # e.g. com.krausefx.app
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

<modelVersion>4.0.0</modelVersion>
<groupId>io.ionic.libs</groupId>
<artifactId>osfilesystem-android</artifactId>
<artifactId>ionfilesystem-android</artifactId>
<version>0.0.1</version>
</project>
2 changes: 1 addition & 1 deletion scripts/publish-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LOG_OUTPUT=./tmp/publish-android.txt
THE_VERSION=`sed -n 's/.*<version>\(.*\)<\/version>.*/\1/p' ../pom.xml`

# Get latest io.ionic:portals XML version info
PUBLISHED_URL="https://repo1.maven.org/maven2/io/ionic/libs/osfilesystem-android/maven-metadata.xml"
PUBLISHED_URL="https://repo1.maven.org/maven2/io/ionic/libs/ionfilesystem-android/maven-metadata.xml"
PUBLISHED_DATA=$(curl -s $PUBLISHED_URL)
PUBLISHED_VERSION="$(perl -ne 'print and last if s/.*<latest>(.*)<\/latest>.*/\1/;' <<< $PUBLISHED_DATA)"

Expand Down
14 changes: 7 additions & 7 deletions scripts/publish-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ afterEvaluate {
release(MavenPublication) {
// Coordinates
groupId 'io.ionic.libs'
artifactId 'osfilesystem-android'
artifactId 'ionfilesystem-android'
version LIB_VERSION

// Two artifacts, the `aar` (or `jar`) and the sources
Expand All @@ -36,13 +36,13 @@ afterEvaluate {

// POM Data
pom {
name = 'osfilesystem-android'
name = 'ionfilesystem-android'
description = 'File system Android Lib'
url = 'https://github.com/ionic-team/OSFilesystemLib-Android'
url = 'https://github.com/ionic-team/ion-android-filesystem'
licenses {
license {
name = 'License'
url = 'https://github.com/ionic-team/OSFilesystemLib-Android/blob/main/LICENSE'
url = 'https://github.com/ionic-team/ion-android-filesystem/blob/main/LICENSE'
}
}
developers {
Expand All @@ -54,9 +54,9 @@ afterEvaluate {

// Version Control Info
scm {
connection = 'scm:git:github.com:ionic-team/OSFilesystemLib-Android.git'
developerConnection = 'scm:git:ssh://github.com:ionic-team/OSFilesystemLib-Android.git'
url = 'https://github.com/ionic-team/OSFilesystemLib-Android/tree/main'
connection = 'scm:git:github.com:ionic-team/ion-android-filesystem.git'
developerConnection = 'scm:git:ssh://github.com:ionic-team/ion-android-filesystem.git'
url = 'https://github.com/ionic-team/ion-android-filesystem/tree/main'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-root.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ nexusPublishing {
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
repositoryDescription = 'OSFilesystemLib Android Lib v' + System.getenv('THE_VERSION')
repositoryDescription = 'IONFilesystemLib Android Lib v' + System.getenv('THE_VERSION')
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = "OSFilesystemLib"
rootProject.name = "IONFilesystemLib"
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Organization and project keys are displayed in the right sidebar of the project homepage
sonar.organization=outsystemsrd
sonar.projectKey=OutSystems_OSFilesystemLib-Android
sonar.projectKey=OutSystems_IONFilesystemLib-Android
sonar.host.url=https://sonarcloud.io

sonar.language=kotlin
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package io.ionic.libs.ionfilesystemlib

/**
* Entry point in IONFilesystemLib-Android
*
*/
class IONFLSTController {

}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.ionic.libs.osfilesystemlib
package io.ionic.libs.ionfilesystemlib

import org.junit.Test

Expand Down

0 comments on commit aa14634

Please sign in to comment.