File tree Expand file tree Collapse file tree 3 files changed +53
-6
lines changed
Expand file tree Collapse file tree 3 files changed +53
-6
lines changed Original file line number Diff line number Diff line change 11## Android Research Tech
22- Template repository for doing research on Android Technologies
3+ [ ![ ] ( https://jitpack.io/v/teamqomunal/android-library-kit-starter.svg )] ( https://jitpack.io/#teamqomunal/android-library-kit-starter )
4+
5+ ## How To Use / Implement This Project
6+ ### Step 1. Add the JitPack repository to your build file
7+
8+ #### <Option 1> Groovy Gradle
9+
10+ // Add it in your root build.gradle at the end of repositories:
11+
12+ allprojects {
13+ repositories {
14+ ...
15+ maven { url 'https://jitpack.io' }
16+ }
17+ }
18+
19+ #### <Option 2> Kotlin DSL Gradle`
20+
21+ ``` kotlin
22+ // Add it in your root build.gradle.kts at the end of repositories:
23+ dependencyResolutionManagement {
24+ repositoriesMode.set(RepositoriesMode .FAIL_ON_PROJECT_REPOS )
25+ repositories {
26+ google()
27+ mavenCentral()
28+ maven(" https://jitpack.io" )
29+ }
30+ }
31+ ```
32+
33+ ### Step 2. Add the dependency
34+
35+ #### <Option 1> Groovy
36+
37+ dependencies {
38+ implementation 'com.github.teamqomunal:android-library-kit-starter:{tag}'
39+ }
40+
41+ #### <Option 2> Kotlin DSL
42+
43+ dependencies {
44+ implementation("com.github.teamqomunal:android-library-kit-starter:{tag}")
45+ }
46+
347
448## Colaborator
549Very open to anyone, I'll write your name under this, please contribute by sending an email to me
650
751- Mail To faisalamircs@gmail.com
8- - Subject : Github _ [ Github-Username-Account] _ [ Repository-Name]
52+ - Subject : Github _ [ Github-Username-Account] _ [ Repository-Name]
953- Example : Github_amirisback_android-research
1054
1155Name Of Contribute
Original file line number Diff line number Diff line change 1010
1111object ProjectSetting {
1212
13- const val PROJECT_NAMESPACE = " com.qomunal.opensource.androidresearch"
14- const val PROJECT_PACKAGE_NAME = " com.qomunal.opensource.androidresearch"
13+ const val BASE_PACKAGE = " com.qomunal.opensource"
1514
16- const val LIBRARY_PACKAGE_NAME = " com.qomunal.opensource.library"
15+ const val PROJECT_NAMESPACE = " $BASE_PACKAGE .androidresearch"
16+ const val PROJECT_PACKAGE_NAME = " $BASE_PACKAGE .androidresearch"
17+
18+ const val LIBRARY_NAME = " library"
19+ const val LIBRARY_PACKAGE_NAME = " $BASE_PACKAGE .$LIBRARY_NAME "
1720
1821 // Version App
1922 const val VERSION_CODE = 1
2023
2124 const val VERSION_MAJOR = 0
2225 const val VERSION_MINOR = 0
23- const val VERSION_PATCH = 3
26+ const val VERSION_PATCH = 4
2427
2528 // ---------------------------------------------------------------------------------------------
2629 // Default Setting - Do Not Change
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ afterEvaluate {
7272
7373 // Library Name / Module Name (Example : "androidfirstlib")
7474 // NOTE : Different ArtifactId For Each Library / Module, So That Each Library Is Not Overwritten
75- artifactId = " library "
75+ artifactId = ProjectSetting . LIBRARY_NAME
7676
7777 // Version Library Name (Example : "1.0.0")
7878 version = ProjectSetting .VERSION_NAME
You can’t perform that action at this time.
0 commit comments