Skip to content

Commit

Permalink
Update .gradle files and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnik committed Nov 20, 2023
1 parent 70acd30 commit 6ae3313
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 20 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
buildscript {
ext {
androidx_appcompat_version = "1.1.0"
androidx_core_version = "1.1.0"
androidx_exifinterface_version = "1.1.0-beta01"
androidx_transition_version = "1.2.0-rc01"
constraintlayout_version = "1.1.3"
androidx_appcompat_version = "1.6.1"
androidx_core_version = "1.9.0"
androidx_exifinterface_version = "1.3.6"
androidx_transition_version = "1.4.1"
constraintlayout_version = "2.1.4"
}

repositories {
Expand All @@ -15,7 +15,7 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:7.4.2'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
1 change: 0 additions & 1 deletion mavenpush.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// TODO update the deployment script
/*
apply plugin: 'maven'
apply plugin: 'signing'
Expand Down
9 changes: 4 additions & 5 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 31
buildToolsVersion '30.0.3'
compileSdk 33
defaultConfig {
applicationId "com.yalantis.ucrop.sample"
minSdkVersion 14
targetSdkVersion 31
targetSdkVersion 33
versionCode 13
versionName "1.2.4"
}
Expand All @@ -18,8 +17,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
Expand Down
10 changes: 4 additions & 6 deletions ucrop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ apply plugin: 'com.android.library'
apply from: '../mavenpush.gradle'

android {
compileSdkVersion 31
buildToolsVersion '30.0.2'

compileSdk 33
defaultConfig {
minSdkVersion 14
targetSdkVersion 31
targetSdkVersion 33
versionCode 26
versionName "2.2.8-native"

Expand All @@ -20,8 +18,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
Expand Down
2 changes: 1 addition & 1 deletion ucrop/src/main/java/com/yalantis/ucrop/UCrop.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class UCrop {
public static final int RESULT_ERROR = 96;
public static final int MIN_SIZE = 10;

private static final String EXTRA_PREFIX = BuildConfig.APPLICATION_ID;
private static final String EXTRA_PREFIX = BuildConfig.LIBRARY_PACKAGE_NAME;

public static final String EXTRA_INPUT_URI = EXTRA_PREFIX + ".InputUri";
public static final String EXTRA_OUTPUT_URI = EXTRA_PREFIX + ".OutputUri";
Expand Down

0 comments on commit 6ae3313

Please sign in to comment.