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