Skip to content

Commit

Permalink
Merge pull request #11 from jens-muenker/update/gradle_8.5
Browse files Browse the repository at this point in the history
Update to Gradle 8.5
  • Loading branch information
jens-muenker authored Jan 21, 2024
2 parents 39d1836 + 0a3aec2 commit 657ff6a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 19 deletions.
10 changes: 1 addition & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
buildscript {
ext {
kotlin_version = '1.9.22'
androidx_appcompat_version = "1.6.1"
androidx_core_version = '1.12.0'
androidx_exifinterface_version = "1.3.6"
androidx_transition_version = "1.4.1"
constraintlayout_version = "1.1.3"
}
repositories {
maven { url "https://plugins.gradle.org/m2/" }
google()
Expand All @@ -25,5 +17,5 @@ allprojects {
}

tasks.register('clean', Delete) {
delete rootProject.buildDir
delete rootProject.layout.buildDirectory
}
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Feb 08 15:37:10 CET 2023
#Sat Jan 20 15:49:05 CET 2024
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 3 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
versionCode 14
versionName '1.2.6'
}
flavorDimensions "default"
flavorDimensions = ["default"]
buildTypes {
release {
minifyEnabled false
Expand Down Expand Up @@ -39,8 +39,8 @@ android {
}

dependencies {
implementation "androidx.appcompat:appcompat:${androidx_appcompat_version}"
implementation "androidx.core:core-ktx:${androidx_core_version}"
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation project(':ucrop')
Expand Down
1 change: 1 addition & 0 deletions ucrop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ android {
minSdkVersion 14
targetSdk 34

consumerProguardFiles 'proguard-rules.pro'
vectorDrawables.useSupportLibrary = true

renderscriptTargetApi 18
Expand Down
4 changes: 4 additions & 0 deletions ucrop/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@
# -keep public class mypackage.MyClass
# -keep public interface mypackage.MyInterface
# -keep public class * implements mypackage.MyInterface

-dontwarn com.yalantis.ucrop**
-keep class com.yalantis.ucrop** { *; }
-keep interface com.yalantis.ucrop** { *; }
5 changes: 1 addition & 4 deletions ucrop/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ tasks.register('androidSourcesJar', Jar) {
}
}

group = PUBLISH_GROUP_ID
version = PUBLISH_VERSION

publishing {
publications {
release(MavenPublication) {
Expand All @@ -35,7 +32,7 @@ publishing {
licenses {
license {
name = 'uCrop\'n\'Edit License'
url = 'https://github.com/jens-muenker/uCrop-n-Edit'
url = 'https://github.com/jens-muenker/uCrop-n-Edit#license'
}
}

Expand Down

0 comments on commit 657ff6a

Please sign in to comment.