Skip to content

Commit

Permalink
Migrate to gradle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
samanzamani committed Sep 8, 2023
1 parent 8d21862 commit fdbbc3c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 33
compileSdk 33
defaultConfig {
applicationId "saman.zamani.persiandatedemo"
minSdkVersion 17
Expand Down Expand Up @@ -31,7 +31,7 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.jakewharton:butterknife:10.2.3'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
testImplementation 'junit:junit:4.13.2'
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.1'
classpath 'com.android.tools.build:gradle:8.1.1'
}
}
allprojects {
Expand All @@ -16,6 +16,6 @@ allprojects {
}
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Oct 23 12:57:21 IRST 2020
#Fri Sep 08 13:32:02 IRST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
7 changes: 6 additions & 1 deletion persiandate/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
android {
compileSdkVersion 33
compileSdk 33
defaultConfig {
minSdkVersion 14
targetSdkVersion 33
}
publishing {
singleVariant('release') {
withSourcesJar()
}
}
buildTypes {
release {
minifyEnabled false
Expand Down

0 comments on commit fdbbc3c

Please sign in to comment.