Skip to content

Commit 3cb2d29

Browse files
committed
Initial commit
1 parent 0879376 commit 3cb2d29

File tree

232 files changed

+5715
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+5715
-63
lines changed

.gitignore

+8-63
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,10 @@
1-
# Built application files
2-
*.apk
3-
*.ap_
4-
5-
# Files for the ART/Dalvik VM
6-
*.dex
7-
8-
# Java class files
9-
*.class
10-
11-
# Generated files
12-
bin/
13-
gen/
14-
out/
15-
16-
# Gradle files
17-
.gradle/
18-
build/
19-
20-
# Local configuration file (sdk path, etc)
21-
local.properties
22-
23-
# Proguard folder generated by Eclipse
24-
proguard/
25-
26-
# Log Files
27-
*.log
28-
29-
# Android Studio Navigation editor temp files
30-
.navigation/
31-
32-
# Android Studio captures folder
33-
captures/
34-
35-
# IntelliJ
361
*.iml
37-
.idea/workspace.xml
38-
.idea/tasks.xml
39-
.idea/gradle.xml
40-
.idea/assetWizardSettings.xml
41-
.idea/dictionaries
42-
.idea/libraries
43-
.idea/caches
44-
45-
# Keystore files
46-
# Uncomment the following line if you do not want to check your keystore files in.
47-
#*.jks
48-
49-
# External native build folder generated in Android Studio 2.2 and later
2+
.gradle
3+
/local.properties
4+
/.idea/libraries
5+
/.idea/modules.xml
6+
/.idea/workspace.xml
7+
.DS_Store
8+
/build
9+
/captures
5010
.externalNativeBuild
51-
52-
# Google Services (e.g. APIs or Firebase)
53-
google-services.json
54-
55-
# Freeline
56-
freeline.py
57-
freeline/
58-
freeline_project_description.json
59-
60-
# fastlane
61-
fastlane/report.xml
62-
fastlane/Preview.html
63-
fastlane/screenshots
64-
fastlane/test_output
65-
fastlane/readme.md

.idea/assetWizardSettings.xml

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/caches/build_file_checksums.ser

537 Bytes
Binary file not shown.

.idea/encodings.xml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/navEditor.xml

+90
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
5.37 MB
Binary file not shown.

app/basic/release/output.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":230000001,"versionName":"0.0.1","enabled":true,"outputFile":"app-basic-release.apk","fullName":"basicRelease","baseName":"basic-release"},"path":"app-basic-release.apk","properties":{}}]

app/build.gradle

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
apply plugin: "com.android.application"
2+
3+
apply plugin: "kotlin-android"
4+
5+
apply plugin: "kotlin-android-extensions"
6+
7+
apply plugin: "kotlin-kapt"
8+
9+
apply plugin: "androidx.navigation.safeargs"
10+
11+
androidExtensions {
12+
experimental = true
13+
}
14+
15+
ext.minimumSdkVersion = 23
16+
17+
private Integer generateVersionCode(int major, int minor, int patch) {
18+
return ext.minimumSdkVersion * 10000000 + major * 10000 + minor * 100 + patch
19+
}
20+
21+
private static String generateVersionName(int major, int minor, int patch) {
22+
return "${major}.${minor}.${patch}"
23+
}
24+
25+
android {
26+
signingConfigs {
27+
signingConfig {
28+
keyAlias "basic_key"
29+
keyPassword "Ab12Cd34"
30+
storeFile file("${projectDir.path}/keys/basic.jks")
31+
storePassword "Ab12Cd34"
32+
}
33+
}
34+
compileSdkVersion 28
35+
defaultConfig {
36+
applicationId "com.boros.android.starter"
37+
minSdkVersion minimumSdkVersion
38+
targetSdkVersion 28
39+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
40+
multiDexEnabled true
41+
}
42+
buildTypes {
43+
release {
44+
minifyEnabled false
45+
shrinkResources false
46+
zipAlignEnabled true
47+
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
48+
}
49+
debug {
50+
applicationIdSuffix ".debug"
51+
versionNameSuffix "-debug"
52+
minifyEnabled false
53+
shrinkResources false
54+
debuggable true
55+
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
56+
}
57+
}
58+
flavorDimensions "default"
59+
productFlavors {
60+
basic {
61+
applicationIdSuffix ".demo"
62+
versionCode generateVersionCode(0, 0, 1)
63+
versionName generateVersionName(0, 0, 1)
64+
signingConfig signingConfigs.signingConfig
65+
}
66+
}
67+
}
68+
69+
dependencies {
70+
implementation fileTree(dir: "libs", include: ["*.jar"])
71+
72+
//Test
73+
testImplementation "junit:junit:4.12"
74+
androidTestImplementation "androidx.test:runner:1.1.1"
75+
androidTestImplementation "androidx.test.espresso:espresso-core:3.1.1"
76+
77+
//AndroidX
78+
implementation "androidx.legacy:legacy-support-v4:1.0.0"
79+
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.0.0"
80+
implementation "androidx.appcompat:appcompat:1.0.2"
81+
implementation "androidx.recyclerview:recyclerview:1.0.0"
82+
implementation "androidx.constraintlayout:constraintlayout:1.1.3"
83+
implementation "androidx.lifecycle:lifecycle-extensions:2.1.0-alpha04"
84+
kapt "androidx.lifecycle:lifecycle-compiler:2.1.0-alpha04"
85+
implementation "androidx.room:room-runtime:2.1.0-alpha07"
86+
kapt "androidx.room:room-compiler:2.0.0"
87+
implementation "android.arch.work:work-runtime:1.0.1"
88+
implementation "androidx.core:core-ktx:1.0.1"
89+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.0"
90+
91+
//Navigation
92+
implementation "android.arch.navigation:navigation-fragment:1.0.0"
93+
implementation "android.arch.navigation:navigation-ui:1.0.0"
94+
95+
//retrofit
96+
implementation "com.google.code.gson:gson:2.8.2"
97+
implementation "com.squareup.retrofit2:retrofit:2.5.0"
98+
implementation "com.squareup.retrofit2:converter-gson:2.5.0"
99+
implementation "com.squareup.okhttp3:logging-interceptor:3.9.1"
100+
101+
implementation "org.greenrobot:eventbus:3.1.1"
102+
implementation "com.github.bumptech.glide:glide:4.8.0"
103+
implementation "org.jdeferred:jdeferred-core:1.2.6"
104+
implementation "jp.wasabeef:recyclerview-animators:2.3.0"
105+
implementation "de.hdodenhof:circleimageview:2.2.0"
106+
implementation "com.facebook.android:facebook-login:4.42.0"
107+
108+
//Leak canary
109+
debugImplementation "com.squareup.leakcanary:leakcanary-android:1.6.2"
110+
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:1.6.2"
111+
debugImplementation "com.squareup.leakcanary:leakcanary-support-fragment:1.6.2"
112+
}

app/keys/basic.jks

2.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)