File tree Expand file tree Collapse file tree
src/main/java/com/tomclaw/minion Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Minion for Android
2- [ ![ Android Arsenal] ( https://img.shields.io/badge/Android%20Arsenal-Minion-green.svg?style=flat )] ( https://android-arsenal.com/details/1/6214 ) [ ![ Build Status] ( https://travis-ci.org/solkin/minion-android.svg?branch=master )] ( https://travis-ci.org/solkin/minion-android ) [ ![ Download ] ( https://api.bintray.com/packages /solkin/minion/minion -android/images/download .svg ) ] ( https://bintray.com/ solkin/minion/minion -android/_latestVersion ) [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/74c7e0e1018b470eb11b01600e570474 )] ( https://www.codacy.com/app/solkin/minion-android?utm_source=github.com& ; utm_medium=referral& ; utm_content=solkin/minion-android& ; utm_campaign=Badge_Grade )
2+ [ ![ Android Arsenal] ( https://img.shields.io/badge/Android%20Arsenal-Minion-green.svg?style=flat )] ( https://android-arsenal.com/details/1/6214 ) [ ![ Build Status] ( https://travis-ci.org/solkin/minion-android.svg?branch=master )] ( https://travis-ci.org/solkin/minion-android ) [ ![ ] ( https://jitpack.io/v /solkin/minion-android.svg )] ( https://jitpack.io/# solkin/minion-android ) [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/74c7e0e1018b470eb11b01600e570474 )] ( https://www.codacy.com/app/solkin/minion-android?utm_source=github.com& ; utm_medium=referral& ; utm_content=solkin/minion-android& ; utm_campaign=Badge_Grade )
33
44Minion is a handy group-key-value data storage library, powered by INI format. Let you parse and store INI format. Designed with modern fluent interface.
55
66![ Minion icon] ( /minion_icon.png )
77
88### Add dependency
9+ ** Step 1.** Add the JitPack repository to your build file
910``` groovy
10- implementation 'com.tomclaw.minion:minion:1.1.0'
11+ allprojects {
12+ repositories {
13+ ...
14+ maven { url 'https://jitpack.io' }
15+ }
16+ }
17+ ```
18+ ** Step 2.** Add the dependency
19+ ``` groovy
20+ implementation 'com.github.solkin:minion-android:1.2'
1121```
1222
1323### Create async Minion for file
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ android {
1616 minSdkVersion 15
1717 targetSdkVersion 30
1818 versionCode project. hasProperty(" versionCode" ) ? Integer . parseInt(project. versionCode) : 1
19- versionName " 1.0 "
19+ versionName " 1.2 "
2020 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2121 }
2222 buildTypes {
Load diff This file was deleted.
Original file line number Diff line number Diff line change 22
33buildscript {
44 repositories {
5- jcenter ()
5+ mavenCentral ()
66 google()
77 }
88 dependencies {
9- classpath ' com.android.tools.build:gradle:4.1.1 '
9+ classpath ' com.android.tools.build:gradle:4.2.0 '
1010 classpath ' com.github.dcendents:android-maven-gradle-plugin:1.4.1'
1111 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
1212
@@ -17,7 +17,7 @@ buildscript {
1717
1818allprojects {
1919 repositories {
20- jcenter ()
20+ mavenCentral ()
2121 google()
2222 }
2323}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-6.5 -bin.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -bin.zip
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ android {
77 minSdkVersion 15
88 targetSdkVersion 30
99 versionCode 1
10- versionName " 1.0 "
10+ versionName " 1.2 "
1111
1212 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1313
@@ -30,29 +30,3 @@ dependencies {
3030 testImplementation ' junit:junit:4.13.1'
3131}
3232
33- ext {
34- bintrayRepo = ' minion'
35- bintrayName = ' minion-android'
36-
37- publishedGroupId = ' com.tomclaw.minion'
38- libraryName = ' minion'
39- artifact = ' minion'
40-
41- libraryDescription = ' Minion is a handy group-key-value data storage library, powered by INI format'
42-
43- siteUrl = ' https://github.com/solkin/minion-android'
44- gitUrl = ' https://github.com/solkin/minion-android.git'
45-
46- libraryVersion = ' 1.1.2'
47-
48- developerId = ' solkin'
49- developerName = ' Igor Solkin'
50- developerEmail = ' inbox@tomclaw.com'
51-
52- licenseName = ' The Apache Software License, Version 2.0'
53- licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
54- allLicenses = [" Apache-2.0" ]
55- }
56-
57- apply from : ' ../install.gradle'
58- apply from : ' ../bintray.gradle'
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public class Minion {
3939 private static final String KEY_VALUE_DIVIDER = "=" ;
4040 private static final String ARRAY_VALUE_DELIMITER = "," ;
4141
42- private static Executor executor = Executors .newSingleThreadExecutor ();
42+ private static final Executor executor = Executors .newSingleThreadExecutor ();
4343
4444 private final Readable readable ;
4545 private final Writable writable ;
You can’t perform that action at this time.
0 commit comments