Skip to content

Commit

Permalink
Migrate project to new Gradle version and switch to Kotlin DSL
Browse files Browse the repository at this point in the history
- Updated the Gradle build files from Groovy to Kotlin DSL.
- Replaced old dependency and repository configurations with Kotlin-compatible syntax.
- Ensured compatibility with the latest Gradle version and project setup.
  • Loading branch information
AndroidWithRossyn committed Dec 9, 2024
1 parent aea2b62 commit 5f444cf
Show file tree
Hide file tree
Showing 41 changed files with 680 additions and 546 deletions.
2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .idea/compiler.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

3 changes: 3 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .idea/dictionaries/Narendra.xml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions .idea/material_theme_project_new.xml

This file was deleted.

109 changes: 2 additions & 107 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .idea/render.experimental.xml

This file was deleted.

17 changes: 17 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [1.0.0] - 2024.12.9

- Updated the Gradle build files from Groovy to Kotlin DSL.
- Replaced old dependency and repository configurations with Kotlin-compatible syntax.
- Ensured compatibility with the latest Gradle version and project setup.
81 changes: 0 additions & 81 deletions app/build.gradle

This file was deleted.

81 changes: 81 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
}

android {
namespace = "com.banrossyn.ininsta.story.downloader"
compileSdk = 35

defaultConfig {
applicationId = "com.banrossyn.ininsta.story.downloader"
minSdk = 24
targetSdk = 35
versionCode = 1
versionName = "1.0.0"
setProperty("archivesBaseName", "InInsta")
vectorDrawables.useSupportLibrary = true
renderscriptSupportModeEnabled= true
multiDexEnabled= true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}

buildFeatures {
viewBinding= true
buildConfig= true
}
lint {
checkReleaseBuilds =false
abortOnError =false
}

}

dependencies {

implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)


implementation("androidx.legacy:legacy-support-v4:1.0.0")
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

implementation("com.squareup.retrofit2:adapter-rxjava2:2.7.1")
implementation("com.squareup.retrofit2:converter-gson:2.7.1")
implementation("com.squareup.retrofit2:retrofit:2.7.1")
implementation("com.squareup.okhttp3:okhttp:4.3.1")
implementation("com.squareup.okhttp3:logging-interceptor:4.3.1")

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

implementation("com.github.bumptech.glide:glide:4.16.0")

implementation("de.hdodenhof:circleimageview:3.1.0")
implementation(project(":bubblenavigation"))

implementation("com.airbnb.android:lottie:4.2.2")
}
Binary file removed app/release/InInsta-release.aab
Binary file not shown.
Loading

0 comments on commit 5f444cf

Please sign in to comment.