Skip to content

Commit

Permalink
Added that import this project library with dependencies library toge…
Browse files Browse the repository at this point in the history
…ther.
  • Loading branch information
pokk committed Jan 23, 2018
1 parent 01cb027 commit aefeeca
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 20 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ allprojects {
And add our dependency to your app `bundle.gradle`.

```gradle
implementation 'com.devrapid.jieyi:kotlinknifer:1.1.7'
implementation 'com.devrapid.jieyi:kotlinknifer:1.2.0'
```

Then you can use it!!!
Expand All @@ -55,22 +55,22 @@ Then you can use it!!!
<dependency>
<groupId>com.devrapid.jieyi</groupId>
<artifactId>kotlinknifer</artifactId>
<version>1.1.7</version>
<version>1.2.0</version>
<type>pom</type>
</dependency>
```

# Also Included Library

1. Gson 2.8.2
2. RxJava 2.1.6
3. RxKotlin 2.1.0
2. RxJava 2.1.8
3. RxKotlin 2.2.0
4. Glide 4.0.0

If you'd not like to use them to your project, you can add the exclude as like below

```gradle
implementation('com.devrapid.jieyi:kotlinknifer:1.1.7', {
implementation('com.devrapid.jieyi:kotlinknifer:1.2.0', {
exclude group: 'io.reactivex.rxjava2', module: 'rxjava'
exclude group: 'io.reactivex.rxjava2', module: 'rxkotlin'
exclude group: 'com.google.code.gson', module: 'gson'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ proj_name=kotlinknifer
proj_libname=KotlinKnifer
proj_group=com.devrapid.jieyi
proj_artifactid=kotlinknifer
proj_version=1.1.7
proj_version=1.2.0
proj_description=For developing an Android conveniently and rapidly.
proj_websiteurl=https://github.com/pokk/KotlinKnifer
proj_issuetrackerurl=https://github.com/pokk/KotlinKnifer/issues
Expand Down
19 changes: 12 additions & 7 deletions kotlinknifer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
implementation "io.reactivex.rxjava2:rxkotlin:2.1.0"
implementation "io.reactivex.rxjava2:rxjava:2.1.6"
implementation "com.github.bumptech.glide:glide:4.0.0"

// 'compile' can also import to the new project with this.
compile "com.google.code.gson:gson:2.8.2"
compile "io.reactivex.rxjava2:rxkotlin:2.2.0"
compile "io.reactivex.rxjava2:rxjava:2.1.8"
compile "com.github.bumptech.glide:glide:4.0.0"

// 'implementation' can't import to the new project.
implementation "org.jetbrains.anko:anko-commons:0.10.4"
implementation "com.android.support:appcompat-v7:26.1.0"
implementation "com.android.support:recyclerview-v7:26.1.0"
implementation "com.android.support:palette-v7:26.1.0"

implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:palette-v7:26.1.0'
}

apply from: 'https://raw.githubusercontent.com/pokk/JCenterUploader/master/Uploader.gradle'
3 changes: 1 addition & 2 deletions kotlinknifer/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
android:label="@string/app_name"
android:label="Kotlinknifer"
android:supportsRtl="true">
</application>
</manifest>
3 changes: 0 additions & 3 deletions kotlinknifer/src/main/res/values/strings.xml

This file was deleted.

6 changes: 4 additions & 2 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.devrapid.utils"
xmlns:android="http://schemas.android.com/apk/res/android">
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
tools:replace="android:label">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand Down

0 comments on commit aefeeca

Please sign in to comment.