diff --git a/app/build.gradle b/app/build.gradle deleted file mode 100644 index 6b5bff54..00000000 --- a/app/build.gradle +++ /dev/null @@ -1,40 +0,0 @@ -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' - -android { - compileSdkVersion compileSdk - defaultConfig { - applicationId "io.wax911.emojify" - minSdkVersion minSdk - targetSdkVersion targetSdk - versionCode versionCode - versionName versionName - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } -} - -dependencies { - - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" - - implementation "com.google.android.material:material:$material" - implementation "androidx.constraintlayout:constraintlayout:$constraintlayout" - - implementation project(':emojify') - - /** Testing-only dependencies */ - testImplementation "junit:junit:$junit" - androidTestImplementation "androidx.test:runner:$runner" - androidTestImplementation "androidx.test.espresso:espresso-core:$espresso" -} diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 00000000..07430fbe --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,12 @@ +import io.wax911.emoji.buildSrc.Libraries + +plugins { + id("io.wax911.emojify") +} + +dependencies { + implementation(project(":emojify")) + + implementation(Libraries.Google.Material.material) + implementation(Libraries.AndroidX.ContraintLayout.constraintLayout) +} diff --git a/emojify/build.gradle b/emojify/build.gradle deleted file mode 100644 index 8c7bf9c1..00000000 --- a/emojify/build.gradle +++ /dev/null @@ -1,40 +0,0 @@ -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' - -ext { - PUBLISH_GROUP_ID = 'io.wax911.emojify' - PUBLISH_ARTIFACT_ID = 'emojify' - PUBLISH_VERSION = versionName -} - -android { - compileSdkVersion compileSdk - defaultConfig { - minSdkVersion minSdk - targetSdkVersion targetSdk - versionCode versionCode - versionName versionName - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" - - implementation "com.google.code.gson:gson:$gson" - - /** Testing-only dependencies */ - testImplementation "junit:junit:$junit" - androidTestImplementation "androidx.test:runner:$runner" - androidTestImplementation "androidx.test.espresso:espresso-core:$espresso" -} diff --git a/emojify/build.gradle.kts b/emojify/build.gradle.kts new file mode 100644 index 00000000..c04310ab --- /dev/null +++ b/emojify/build.gradle.kts @@ -0,0 +1,9 @@ +import io.wax911.emoji.buildSrc.Libraries + +plugins { + id("io.wax911.emojify") +} + +dependencies { + implementation(Libraries.Google.Gson.gson) +} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index ca2a832b..00000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':app', ':emojify' diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 00000000..62d303a6 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,5 @@ +rootProject.name= "AndroidEmojify" +include(":emojify") + +if (!System.getenv().containsKey("CI")) + include(":app") \ No newline at end of file