generated from frogobox/frogo-android-sdk
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4b2bd6
commit dda44d7
Showing
33 changed files
with
163 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
id("java-library") | ||
id("org.jetbrains.kotlin.jvm") | ||
id("org.jetbrains.compose") version Dependency.COMPOSE_MULTIPLATFORM_VERSION | ||
`maven-publish` | ||
} | ||
|
||
group = ProjectSetting.PROJECT_LIB_ID_CORE_SDK | ||
version = ProjectSetting.PROJECT_VERSION_NAME | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
tasks.withType<KotlinCompile>() { | ||
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() | ||
} | ||
|
||
dependencies { | ||
|
||
implementation(compose.ui) | ||
implementation(compose.runtime) | ||
implementation(compose.preview) | ||
implementation(compose.uiTooling) | ||
implementation(compose.material) | ||
implementation(compose.materialIconsExtended) | ||
|
||
implementation("com.google.code.gson:gson:${Dependency.GSON_VERSION}") | ||
|
||
implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.2") | ||
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3") | ||
|
||
implementation("com.squareup.retrofit2:retrofit:${Dependency.RETROFIT_VERSION}") | ||
implementation("com.squareup.retrofit2:converter-gson:${Dependency.RETROFIT_VERSION}") | ||
implementation("com.squareup.retrofit2:adapter-rxjava:${Dependency.RETROFIT_VERSION}") | ||
implementation("com.squareup.retrofit2:adapter-rxjava2:${Dependency.RETROFIT_VERSION}") | ||
|
||
implementation("io.insert-koin:koin-core:${Dependency.KOIN_VERSION}") // Koin core features | ||
|
||
implementation("io.reactivex.rxjava2:rxjava:2.2.21") | ||
} | ||
|
||
publishing { | ||
|
||
publications { | ||
|
||
// Creates a Maven publication called "release". | ||
register("release", MavenPublication::class) { | ||
|
||
from(components["java"]) | ||
|
||
// Library Package Name (Example : "com.frogobox.androidfirstlib") | ||
// NOTE : Different GroupId For Each Library / Module, So That Each Library Is Not Overwritten | ||
groupId = ProjectSetting.PROJECT_LIB_ID_CORE_SDK | ||
|
||
// Library Name / Module Name (Example : "androidfirstlib") | ||
// NOTE : Different ArtifactId For Each Library / Module, So That Each Library Is Not Overwritten | ||
artifactId = ProjectSetting.MODULE_NAME_CORE_SDK | ||
|
||
// Version Library Name (Example : "1.0.0") | ||
version = ProjectSetting.PROJECT_VERSION_NAME | ||
|
||
} | ||
|
||
} | ||
|
||
repositories { | ||
maven { url = uri("https://jitpack.io") } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.frogobox.coresdk | ||
|
||
class MyClass { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...va/com/frogobox/sdk/core/FrogoActivity.kt → ...in/java/com/frogobox/sdk/FrogoActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
import android.content.Intent | ||
import android.os.Bundle | ||
|
2 changes: 1 addition & 1 deletion
2
...com/frogobox/sdk/core/FrogoApiCallback.kt → ...java/com/frogobox/sdk/FrogoApiCallback.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...a/com/frogobox/sdk/core/FrogoApiClient.kt → ...n/java/com/frogobox/sdk/FrogoApiClient.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
import android.content.Context | ||
import android.util.Log | ||
|
2 changes: 1 addition & 1 deletion
2
...va/com/frogobox/sdk/core/FrogoApiModel.kt → ...in/java/com/frogobox/sdk/FrogoApiModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...frogobox/sdk/core/FrogoComposeActivity.kt → .../com/frogobox/sdk/FrogoComposeActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
import androidx.activity.ComponentActivity | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...va/com/frogobox/sdk/core/FrogoConstant.kt → ...in/java/com/frogobox/sdk/FrogoConstant.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
import android.os.Environment | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...n/java/com/frogobox/sdk/core/FrogoDate.kt → ...c/main/java/com/frogobox/sdk/FrogoDate.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...va/com/frogobox/sdk/core/FrogoFragment.kt → ...in/java/com/frogobox/sdk/FrogoFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
import android.content.Intent | ||
import android.os.Bundle | ||
|
7 changes: 3 additions & 4 deletions
7
...n/java/com/frogobox/sdk/core/FrogoFunc.kt → ...c/main/java/com/frogobox/sdk/FrogoFunc.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...a/com/frogobox/sdk/core/FrogoLiveEvent.kt → ...n/java/com/frogobox/sdk/FrogoLiveEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...m/frogobox/sdk/core/FrogoLocalCallback.kt → ...va/com/frogobox/sdk/FrogoLocalCallback.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../com/frogobox/sdk/core/FrogoNavigation.kt → .../java/com/frogobox/sdk/FrogoNavigation.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../com/frogobox/sdk/core/FrogoPreference.kt → .../java/com/frogobox/sdk/FrogoPreference.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...va/com/frogobox/sdk/core/FrogoResponse.kt → ...in/java/com/frogobox/sdk/FrogoResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
/* | ||
* Created by faisalamir on 26/07/21 | ||
|
2 changes: 1 addition & 1 deletion
2
...a/com/frogobox/sdk/core/FrogoViewModel.kt → ...n/java/com/frogobox/sdk/FrogoViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...a/com/frogobox/sdk/core/IFrogoActivity.kt → ...n/java/com/frogobox/sdk/IFrogoActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rogobox/sdk/core/IFrogoComposeActivity.kt → ...com/frogobox/sdk/IFrogoComposeActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
/* | ||
* Created by faisalamir on 23/08/21 | ||
|
2 changes: 1 addition & 1 deletion
2
.../java/com/frogobox/sdk/core/IFrogoDate.kt → .../main/java/com/frogobox/sdk/IFrogoDate.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.frogobox.sdk.core | ||
package com.frogobox.sdk | ||
|
||
/* | ||
* Created by faisalamir on 28/07/21 | ||
|
2 changes: 1 addition & 1 deletion
2
...a/com/frogobox/sdk/core/IFrogoFragment.kt → ...n/java/com/frogobox/sdk/IFrogoFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../java/com/frogobox/sdk/core/IFrogoFunc.kt → .../main/java/com/frogobox/sdk/IFrogoFunc.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...java/com/frogobox/sdk/core/IFrogoMusic.kt → ...main/java/com/frogobox/sdk/IFrogoMusic.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.