From 55b8dccc390f45f54b2cc7f417290c1cbb9ceee3 Mon Sep 17 00:00:00 2001 From: Jun Gu <2dxgujun@gmail.com> Date: Tue, 2 Jan 2018 12:51:08 +0800 Subject: [PATCH] update module name --- sample/build.gradle | 2 +- settings.gradle | 2 +- {lib => span}/.gitignore | 0 {lib => span}/build.gradle | 4 ++-- {lib => span}/src/main/AndroidManifest.xml | 0 {lib => span}/src/main/kotlin/me/gujun/android/span/span.kt | 0 .../kotlin/me/gujun/android/span/style/CustomTypefaceSpan.kt | 0 .../kotlin/me/gujun/android/span/style/LineSpacingSpan.kt | 0 .../me/gujun/android/span/style/TextDecorationLineSpan.kt | 0 9 files changed, 4 insertions(+), 4 deletions(-) rename {lib => span}/.gitignore (100%) rename {lib => span}/build.gradle (92%) rename {lib => span}/src/main/AndroidManifest.xml (100%) rename {lib => span}/src/main/kotlin/me/gujun/android/span/span.kt (100%) rename {lib => span}/src/main/kotlin/me/gujun/android/span/style/CustomTypefaceSpan.kt (100%) rename {lib => span}/src/main/kotlin/me/gujun/android/span/style/LineSpacingSpan.kt (100%) rename {lib => span}/src/main/kotlin/me/gujun/android/span/style/TextDecorationLineSpan.kt (100%) diff --git a/sample/build.gradle b/sample/build.gradle index 0806343..9c5c6f2 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -20,6 +20,6 @@ android { dependencies { implementation 'com.android.support:appcompat-v7:27.0.2' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation project(':lib') + implementation project(':span') } diff --git a/settings.gradle b/settings.gradle index 035bb58..500f3da 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include ':sample', ':lib' +include ':sample', ':span' diff --git a/lib/.gitignore b/span/.gitignore similarity index 100% rename from lib/.gitignore rename to span/.gitignore diff --git a/lib/build.gradle b/span/build.gradle similarity index 92% rename from lib/build.gradle rename to span/build.gradle index 3f3cbac..7115fb7 100644 --- a/lib/build.gradle +++ b/span/build.gradle @@ -17,8 +17,8 @@ android { } dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'com.android.support:support-annotations:27.0.2' + api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + api 'com.android.support:support-annotations:27.0.2' } def GROUP = 'me.gujun.android' diff --git a/lib/src/main/AndroidManifest.xml b/span/src/main/AndroidManifest.xml similarity index 100% rename from lib/src/main/AndroidManifest.xml rename to span/src/main/AndroidManifest.xml diff --git a/lib/src/main/kotlin/me/gujun/android/span/span.kt b/span/src/main/kotlin/me/gujun/android/span/span.kt similarity index 100% rename from lib/src/main/kotlin/me/gujun/android/span/span.kt rename to span/src/main/kotlin/me/gujun/android/span/span.kt diff --git a/lib/src/main/kotlin/me/gujun/android/span/style/CustomTypefaceSpan.kt b/span/src/main/kotlin/me/gujun/android/span/style/CustomTypefaceSpan.kt similarity index 100% rename from lib/src/main/kotlin/me/gujun/android/span/style/CustomTypefaceSpan.kt rename to span/src/main/kotlin/me/gujun/android/span/style/CustomTypefaceSpan.kt diff --git a/lib/src/main/kotlin/me/gujun/android/span/style/LineSpacingSpan.kt b/span/src/main/kotlin/me/gujun/android/span/style/LineSpacingSpan.kt similarity index 100% rename from lib/src/main/kotlin/me/gujun/android/span/style/LineSpacingSpan.kt rename to span/src/main/kotlin/me/gujun/android/span/style/LineSpacingSpan.kt diff --git a/lib/src/main/kotlin/me/gujun/android/span/style/TextDecorationLineSpan.kt b/span/src/main/kotlin/me/gujun/android/span/style/TextDecorationLineSpan.kt similarity index 100% rename from lib/src/main/kotlin/me/gujun/android/span/style/TextDecorationLineSpan.kt rename to span/src/main/kotlin/me/gujun/android/span/style/TextDecorationLineSpan.kt