Skip to content

Commit

Permalink
Release 2.2.4. Moved project to mavenCentral, changed coordinates to …
Browse files Browse the repository at this point in the history
…com.github.cioccarellia.ksprefs, updated kotlin to 1.4.30
  • Loading branch information
cioccarellia committed Feb 22, 2021
1 parent 3acde36 commit e2b9b17
Show file tree
Hide file tree
Showing 17 changed files with 313 additions and 64 deletions.
21 changes: 21 additions & 0 deletions .idea/runConfigurations/assembleDebug.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/assembleRelease.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/closeAndPromoteRepository.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/closeAndReleaseRepository.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/closeRepository.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/createRepository.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .idea/runConfigurations/releaseRepository.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@
<h1 align="center">KsPrefs</h1>
<p align="center">SharedPreferences. 100% Kotlin.</p>
<p align="center">
<a href="https://bintray.com/cioccarellia/maven/ksprefs/_latestVersion"><img src="https://api.bintray.com/packages/cioccarellia/maven/ksprefs/images/download.svg" alt="Download from Bintray"></a>
<a href="https://search.maven.org/artifact/com.github.cioccarellia/ksprefs"><img src="https://maven-badges.herokuapp.com/maven-central/com.github.cioccarellia/ksprefs/badge.svg" alt="Download from MavenCentral"></a>
<a href="https://app.circleci.com/pipelines/github/cioccarellia/ksprefs"><img src="https://circleci.com/gh/cioccarellia/ksprefs.svg?style=svg" alt="CircleCI"></a>
<a href="https://app.codacy.com/manual/cioccarellia/ksprefs/dashboard"><img src="https://api.codacy.com/project/badge/Grade/f10cdbdbe7b84d0ea7a03b755c104e03" alt="Codacy"></a>
<a><img src="https://img.shields.io/badge/kotlin-1.4.21-orange.svg" alt="Kotlin"></a>
<a><img src="https://img.shields.io/badge/kotlin-1.4.30-orange.svg" alt="Kotlin"></a>
<a><img src="https://img.shields.io/badge/min-19-00e676.svg" alt="Android Min Sdk"></a>
<a><img src="https://img.shields.io/badge/compile-30-00e676.svg" alt="Android Compile Version"></a>
<a href="https://github.com/cioccarellia/ksprefs/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License"></a>
</p>



<details open><summary>Gradle</summary>

```gradle
dependencies {
implementation 'com.cioccarellia:ksprefs:2.2.3'
implementation 'com.github.cioccarellia:ksprefs:2.2.4'
}
```
</details>
Expand All @@ -26,9 +28,9 @@ dependencies {

```xml
<dependency>
<groupId>com.cioccarellia</groupId>
<groupId>com.github.cioccarellia</groupId>
<artifactId>ksprefs</artifactId>
<version>2.2.3</version>
<version>2.2.4</version>
<type>pom</type>
</dependency>
```
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,23 @@
* limitations under the License.
*/
apply from: rootProject.file("gradle/versions_plugin_config.gradle")
apply plugin: 'io.codearte.nexus-staging'

buildscript {
ext.kotlin_version = '1.4.21'
ext.kotlin_version = '1.4.30'
apply from: rootProject.file("dependencies.gradle")

repositories {
google()
mavenCentral()
jcenter()
}

dependencies {
classpath deps.gradle_plugins.android
classpath deps.gradle_plugins.bintray_release
classpath deps.gradle_plugins.kotlin
classpath deps.gradle_plugins.versions
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.22.0'
}
}

Expand Down
1 change: 0 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ext.deps = [
gradle_plugins: [
android : "com.android.tools.build:gradle:3.6.4",
versions : "com.github.ben-manes:gradle-versions-plugin:0.27.0",
bintray_release: "com.novoda:bintray-release:0.9.2",
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kt}",
reflection : "org.jetbrains.kotlin:kotlin-reflect:${versions.kt}",
serialization : "org.jetbrains.kotlin:kotlin-serialization:${versions.kt}"
Expand Down
50 changes: 0 additions & 50 deletions gradle/android_bintray_config.gradle

This file was deleted.

3 changes: 1 addition & 2 deletions gradle/android_library_config.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: "com.android.library"

apply from: rootProject.file("gradle/android_common_config.gradle")
apply from: rootProject.file("gradle/android_bintray_config.gradle")

apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"
10 changes: 10 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@

ext.module_name = "ksprefs"

apply from: rootProject.file("library_info.gradle")

ext {
PUBLISH_GROUP_ID = "${library.publish_group}.${library.artifact}"
PUBLISH_VERSION = library.publish_version
PUBLISH_ARTIFACT_ID = library.artifact
PUBLISH_ARTIFACT_DESC = library.description
PUBLISH_ARTIFACT_WEBSITE = library.website
}

apply from: rootProject.file("gradle/android_library_config.gradle")

dependencies {
Expand Down
6 changes: 3 additions & 3 deletions library_info.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ ext.library = [

artifact : "ksprefs",

publish_group : "com.cioccarellia",
publish_version : "2.2.3",
publish_version_code: 223,
publish_group : "com.github.cioccarellia",
publish_version : "2.2.4",
publish_version_code: 224,

description : "Kotlin SharedPreferences, Simplified",
website : "https://github.com/cioccarellia/ksprefs"
Expand Down
Loading

0 comments on commit e2b9b17

Please sign in to comment.