diff --git a/app/build.gradle b/app/build.gradle index f71af5f..3d05245 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 33 + compileSdk 33 defaultConfig { applicationId "saman.zamani.persiandatedemo" minSdkVersion 17 @@ -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' diff --git a/build.gradle b/build.gradle index 2677850..63b0d7e 100755 --- a/build.gradle +++ b/build.gradle @@ -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 { @@ -16,6 +16,6 @@ allprojects { } } -task clean(type: Delete) { +tasks.register('clean', Delete) { delete rootProject.buildDir } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d2f344d..691e6cc 100755 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/persiandate/build.gradle b/persiandate/build.gradle index 94fbd18..86295b5 100755 --- a/persiandate/build.gradle +++ b/persiandate/build.gradle @@ -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