diff --git a/acronyms/.gitignore b/acronyms/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/acronyms/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/acronyms/build.gradle b/acronyms/build.gradle new file mode 100644 index 0000000..d8bda80 --- /dev/null +++ b/acronyms/build.gradle @@ -0,0 +1,9 @@ +apply from: '../versions.gradle' +apply from: '../base.gradle' +apply plugin: 'com.android.library' +apply plugin: 'kotlin-android' +apply plugin: 'kotlin-kapt' + +dependencies { + implementation project(':core') +} diff --git a/acronyms/proguard-rules.pro b/acronyms/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/acronyms/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/acronyms/src/androidTest/java/dev/carlos/acronyms/ExampleInstrumentedTest.kt b/acronyms/src/androidTest/java/dev/carlos/acronyms/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..b73d727 --- /dev/null +++ b/acronyms/src/androidTest/java/dev/carlos/acronyms/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package dev.carlos.acronyms + +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.ext.junit.runners.AndroidJUnit4 + +import org.junit.Test +import org.junit.runner.RunWith + +import org.junit.Assert.* + +/** + * Instrumented test, which will execute on an Android device. + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +@RunWith(AndroidJUnit4::class) +class ExampleInstrumentedTest { + @Test + fun useAppContext() { + // Context of the app under test. + val appContext = InstrumentationRegistry.getInstrumentation().targetContext + assertEquals("dev.carlos.acronyms", appContext.packageName) + } +} \ No newline at end of file diff --git a/acronyms/src/main/AndroidManifest.xml b/acronyms/src/main/AndroidManifest.xml new file mode 100644 index 0000000..7fd5b30 --- /dev/null +++ b/acronyms/src/main/AndroidManifest.xml @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/acronyms/src/main/res/drawable-v24/ic_launcher_foreground.xml b/acronyms/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..1448aba --- /dev/null +++ b/acronyms/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/acronyms/src/main/res/drawable/ic_launcher_background.xml b/acronyms/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..445d0d5 --- /dev/null +++ b/acronyms/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/acronyms/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/acronyms/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..03eed25 --- /dev/null +++ b/acronyms/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/acronyms/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/acronyms/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..03eed25 --- /dev/null +++ b/acronyms/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/acronyms/src/main/res/mipmap-hdpi/ic_launcher.png b/acronyms/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..a571e60 Binary files /dev/null and b/acronyms/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/acronyms/src/main/res/mipmap-hdpi/ic_launcher_round.png b/acronyms/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..61da551 Binary files /dev/null and b/acronyms/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/acronyms/src/main/res/mipmap-mdpi/ic_launcher.png b/acronyms/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..c41dd28 Binary files /dev/null and b/acronyms/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/acronyms/src/main/res/mipmap-mdpi/ic_launcher_round.png b/acronyms/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..db5080a Binary files /dev/null and b/acronyms/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/acronyms/src/main/res/mipmap-xhdpi/ic_launcher.png b/acronyms/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..6dba46d Binary files /dev/null and b/acronyms/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/acronyms/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/acronyms/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..da31a87 Binary files /dev/null and b/acronyms/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/acronyms/src/main/res/mipmap-xxhdpi/ic_launcher.png b/acronyms/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..15ac681 Binary files /dev/null and b/acronyms/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/acronyms/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/acronyms/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..b216f2d Binary files /dev/null and b/acronyms/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/acronyms/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/acronyms/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..f25a419 Binary files /dev/null and b/acronyms/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/acronyms/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/acronyms/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..e96783c Binary files /dev/null and b/acronyms/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/acronyms/src/main/res/values-night/themes.xml b/acronyms/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..7558bbb --- /dev/null +++ b/acronyms/src/main/res/values-night/themes.xml @@ -0,0 +1,19 @@ + + + + \ No newline at end of file diff --git a/acronyms/src/main/res/values/colors.xml b/acronyms/src/main/res/values/colors.xml new file mode 100644 index 0000000..09837df --- /dev/null +++ b/acronyms/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ + + + #FFBB86FC + #FF6200EE + #FF3700B3 + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + \ No newline at end of file diff --git a/acronyms/src/main/res/values/strings.xml b/acronyms/src/main/res/values/strings.xml new file mode 100644 index 0000000..5423e6c --- /dev/null +++ b/acronyms/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + acronyms + \ No newline at end of file diff --git a/acronyms/src/main/res/values/themes.xml b/acronyms/src/main/res/values/themes.xml new file mode 100644 index 0000000..a6cea39 --- /dev/null +++ b/acronyms/src/main/res/values/themes.xml @@ -0,0 +1,19 @@ + + + + \ No newline at end of file diff --git a/acronyms/src/test/java/dev/carlos/acronyms/ExampleUnitTest.kt b/acronyms/src/test/java/dev/carlos/acronyms/ExampleUnitTest.kt new file mode 100644 index 0000000..f8091ea --- /dev/null +++ b/acronyms/src/test/java/dev/carlos/acronyms/ExampleUnitTest.kt @@ -0,0 +1,17 @@ +package dev.carlos.acronyms + +import org.junit.Test + +import org.junit.Assert.* + +/** + * Example local unit test, which will execute on the development machine (host). + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +class ExampleUnitTest { + @Test + fun addition_isCorrect() { + assertEquals(4, 2 + 2) + } +} \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index d08b275..0924a2f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,4 +57,5 @@ android { dependencies { implementation project(":core") + implementation project(":acronyms") } \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index e89e7cc..ed5015c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ rootProject.name = "Acronyms" -include ':app', ':core' +include ':app', ':core', ':acronyms'