Skip to content

Commit

Permalink
Update Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyPristensky committed Dec 22, 2023
1 parent 776aa56 commit daebb1a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions AppCenterReactNativeShared/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.android.tools.build:gradle:4.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down Expand Up @@ -57,6 +57,13 @@ allprojects {
}
consumerProguardFiles 'proguard-rules.pro'
}

buildTypes {
release {
buildConfigField 'String', "SDK_NAME", "\"${ext.sdkName}\""
minifyEnabled false
}
}
}

task sourcesJar(type: Jar) {
Expand All @@ -78,8 +85,6 @@ allprojects {
release(MavenPublication) {
from components.release

artifact javadocJar
artifact sourcesJar

pom {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Fri Dec 22 13:03:39 CET 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
zipStoreBase=GRADLE_USER_HOME
1 change: 1 addition & 0 deletions AppCenterReactNativeShared/android/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ext {
gitUrl = 'https://github.com/Microsoft/appcenter-sdk-react-native.git'
groupId = 'com.microsoft.appcenter.reactnative'
sdkDescription = 'AppCenter SDK for React Native Android'
sdkName = 'AppCenter SDK React Native'

Properties properties = new Properties()
File file = rootProject.file('local.properties')
Expand Down

0 comments on commit daebb1a

Please sign in to comment.