Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Release v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
amirisback committed Dec 11, 2021
1 parent beebb2b commit 427d5a9
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 43 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SDK for anything your problem to make easier developing android apps
## Version Release
This Is Latest Release

$version_release = 2.0.5
$version_release = 2.0.6

What's New??

Expand Down Expand Up @@ -57,14 +57,14 @@ allprojects {

dependencies {
// library frogo-sdk
implementation 'com.github.frogobox:frogo-android-sdk:2.0.5'
implementation 'com.github.frogobox:frogo-android-sdk:2.0.6'
}

#### <Option 2> Kotlin DSL Gradle

dependencies {
// library frogo-sdk
implementation("com.github.frogobox:frogo-android-sdk:2.0.5")
implementation("com.github.frogobox:frogo-android-sdk:2.0.6")
}

### Step 3. Function from this SDK
Expand Down
17 changes: 5 additions & 12 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,14 @@ android {

composeOptions {
kotlinCompilerExtensionVersion = Dependency.COMPOSE_VERSION
kotlinCompilerVersion = Dependency.KOTLIN_VERSION
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
useIR = true
}
}

packagingOptions {
exclude("META-INF/AL2.0")
exclude("META-INF/LGPL2.1")
}

}

dependencies {
Expand All @@ -102,16 +95,16 @@ dependencies {

implementation(project(":frogosdk"))

implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.appcompat:appcompat:1.3.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.0")
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.appcompat:appcompat:1.4.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.2")

implementation("androidx.compose.ui:ui:${Dependency.COMPOSE_VERSION}")
implementation("androidx.compose.material:material:${Dependency.COMPOSE_VERSION}")
implementation("androidx.compose.ui:ui-tooling-preview:${Dependency.COMPOSE_VERSION}")

implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.3.1")
implementation("androidx.activity:activity-compose:1.3.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.0")
implementation("androidx.activity:activity-compose:1.4.0")

implementation("com.google.code.gson:gson:2.8.8")
implementation("com.google.android.material:material:1.4.0")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath("com.android.tools.build:gradle:7.0.2")
classpath("com.android.tools.build:gradle:7.0.4")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Dependency.KOTLIN_VERSION}")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/Dependency.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ object Dependency {

// dependencies version

const val KOTLIN_VERSION = "1.5.21"
const val COMPOSE_VERSION = "1.0.2"
const val KOTLIN_VERSION = "1.5.31"
const val COMPOSE_VERSION = "1.0.5"

const val KOIN_VERSION = "3.1.1"
const val KOIN_VERSION = "3.1.4"
const val ROOM_VERSION = "2.3.0"

const val ACTIVITY_KTX_VERSION = "1.2.3"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ProjectSetting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object ProjectSetting {

const val VERSION_MAJOR = 2
const val VERSION_MINOR = 0
const val VERSION_PATCH = 5
const val VERSION_PATCH = 6

const val PROJECT_COMPILE_SDK = 31
const val PROJECT_MIN_SDK = 21
Expand Down
37 changes: 15 additions & 22 deletions frogosdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,44 +44,37 @@ android {

composeOptions {
kotlinCompilerExtensionVersion = Dependency.COMPOSE_VERSION
kotlinCompilerVersion = Dependency.KOTLIN_VERSION
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
useIR = true
}
}

packagingOptions {
exclude("META-INF/AL2.0")
exclude("META-INF/LGPL2.1")
}

}

dependencies {

implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Dependency.KOTLIN_VERSION}")

implementation("androidx.appcompat:appcompat:1.3.1")
implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.appcompat:appcompat:1.4.0")
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.preference:preference-ktx:1.1.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.2")
implementation("androidx.legacy:legacy-support-v4:1.0.0")

implementation("androidx.compose.ui:ui:${Dependency.COMPOSE_VERSION}")
implementation("androidx.compose.material:material:${Dependency.COMPOSE_VERSION}")
implementation("androidx.compose.ui:ui-tooling-preview:${Dependency.COMPOSE_VERSION}")

implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.3.1")
implementation("androidx.activity:activity-compose:1.3.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.0")
implementation("androidx.activity:activity-compose:1.4.0")

implementation("androidx.activity:activity-ktx:${Dependency.ACTIVITY_KTX_VERSION}")
implementation("androidx.fragment:fragment-ktx:${Dependency.FRAGMENT_KTX_VERSION}")

implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0-beta01")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0")
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")

implementation("androidx.room:room-runtime:${Dependency.ROOM_VERSION}")
Expand All @@ -92,16 +85,16 @@ dependencies {
implementation("com.google.code.gson:gson:2.8.8")
implementation("com.google.android.material:material:1.4.0")

implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.0")
implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.2")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.2")

implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
implementation("com.squareup.retrofit2:adapter-rxjava:2.3.0")
implementation("com.squareup.retrofit2:adapter-rxjava:2.9.0")
implementation("com.squareup.retrofit2:adapter-rxjava2:2.9.0")

implementation("io.reactivex.rxjava2:rxandroid:2.1.1")
implementation("io.reactivex.rxjava2:rxjava:2.2.19")
implementation("io.reactivex.rxjava2:rxjava:2.2.21")

implementation("com.github.javiersantos:PiracyChecker:1.2.8")
implementation("com.github.bumptech.glide:glide:4.12.0")
Expand All @@ -110,14 +103,14 @@ dependencies {
implementation("com.readystatesoftware.chuck:library:1.1.0")

api("com.google.dagger:dagger:2.38.1")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt")
api("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.3.1")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
api("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.4.0")

kapt("androidx.lifecycle:lifecycle-compiler:2.4.0-beta01")
kapt("androidx.lifecycle:lifecycle-compiler:2.4.0")
kapt("androidx.room:room-compiler:2.3.0")
kapt("com.google.dagger:dagger-compiler:2.37")
kapt("com.github.bumptech.glide:compiler:4.11.0")
kapt("com.github.bumptech.glide:compiler:4.12.0")

implementation("io.insert-koin:koin-core:${Dependency.KOIN_VERSION}") // Koin core features
implementation("io.insert-koin:koin-android:${Dependency.KOIN_VERSION}") // Koin main features for Android (Scope,ViewModel ...)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ abstract class FrogoActivity<VB : ViewBinding> : AppCompatActivity(), IFrogoActi
Log.d(TAG, "View Binding : ${binding::class.java.simpleName}")
}

override fun onCreateOptionsMenu(menu: Menu?): Boolean {
override fun onCreateOptionsMenu(menu: Menu): Boolean {
return true
}

Expand Down

0 comments on commit 427d5a9

Please sign in to comment.