Skip to content

updated latest sdk versions with configurations #485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'com.google.firebase.crashlytics'

android {
compileSdkVersion rootProject.compileSdkVersion

namespace = "com.naman14.timber"
defaultConfig {
applicationId "naman14.timber"
minSdkVersion rootProject.minSdkVersion
Expand All @@ -29,37 +29,36 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
lint {
disable 'MissingTranslation', 'ExtraTranslation'
}


}

repositories {
jcenter()
mavenCentral()
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.appcompat:appcompat:1.0.2"
implementation "com.google.android.material:material:1.0.0"
implementation "androidx.appcompat:appcompat:1.7.0"
implementation "com.google.android.material:material:1.12.0"
implementation "androidx.cardview:cardview:1.0.0"
implementation "androidx.recyclerview:recyclerview:1.1.0"
implementation "androidx.recyclerview:recyclerview:1.4.0"
implementation "androidx.palette:palette:1.0.0"
implementation "androidx.percentlayout:percentlayout:1.0.0"
implementation 'androidx.multidex:multidex:2.0.1'

implementation "androidx.mediarouter:mediarouter:1.1.0"
implementation 'com.google.android.gms:play-services-cast-framework:16.1.2'
implementation "androidx.mediarouter:mediarouter:1.7.0"
implementation 'com.google.android.gms:play-services-cast-framework:22.0.0'

implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
implementation 'net.steamcrafted:materialiconlib:1.1.4'
implementation 'com.squareup.retrofit:retrofit:1.9.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.3.0'
implementation 'com.squareup.okhttp:okhttp:2.3.0'
implementation 'com.google.code.gson:gson:2.3'
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'de.Maxr1998:track-selector-lib:1.2'

implementation 'com.afollestad.material-dialogs:core:0.9.0.2'
Expand All @@ -68,9 +67,9 @@ dependencies {
implementation('com.github.naman14:app-theme-engine:0.5.2@aar') {
transitive = true
}
implementation 'com.google.firebase:firebase-crashlytics:17.2.2'
implementation 'com.google.firebase:firebase-crashlytics:19.4.3'

implementation 'com.anjlab.android.iab.v3:library:1.0.+'
implementation 'com.anjlab.android.iab.v3:library:1.0.45'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
}

Expand Down
20 changes: 10 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
classpath 'com.android.tools.build:gradle:8.10.0' // latest stable
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
mavenCentral()
google()
maven { url "https://jitpack.io" }
}
Expand All @@ -25,12 +25,12 @@ allprojects {
ext {
// Sdk and tools
minSdkVersion = 16
targetSdkVersion = 28
compileSdkVersion = 28
targetSdkVersion = 34
compileSdkVersion = 34

// App dependencies
supportLibraryVersion = '27.0.2'
retrofitVersion = '2.3.0'
okHttp3Version = '3.9.0'
appCompatVersion = '1.6.1'
retrofitVersion = '2.9.0'
okHttp3Version = '4.12.0'
}

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.useAndroidX=true
android.enableJetifier=true
android.useAndroidX=true
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip