Skip to content

Commit

Permalink
upd gradle versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Aug 30, 2022
1 parent 6ff563f commit c310f59
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion MediaServiceCore
2 changes: 1 addition & 1 deletion SharedModules
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: gradle.ext.sharedModulesConstants

// NOT working
// Running 'gradle wrapper' will generate gradlew
wrapper {
gradleVersion = gradleVersion
distributionType = Wrapper.DistributionType.BIN
}

buildscript {
apply from: gradle.ext.sharedModulesConstants

Expand All @@ -10,7 +17,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.4'
classpath 'com.android.tools.build:gradle:' + androidGradleVersion
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:' + kotlinVersion

// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions chatkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies {
implementation project(':sharedutils')

implementation 'androidx.appcompat:appcompat:' + appCompatXLibraryVersion
implementation 'com.google.android.material:material:1.2.1'
implementation "com.google.android:flexbox:1.0.0"
implementation 'com.google.android.material:material:' + materialVersion
implementation "com.google.android:flexbox:" + flexboxVersion
implementation 'androidx.recyclerview:recyclerview:' + recyclerviewXLibraryVersion
}
1 change: 0 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +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-6.9.1-bin.zip
2 changes: 1 addition & 1 deletion smarttubetv/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ android {
variant.outputs.each { output ->
def project = "STubeNext"
def flavor = variant.productFlavors[-1].name
def buildType = variant.variantData.variantConfiguration.buildType.name.take(1)
def buildType = variant.buildType.name.take(1)
def version = variant.versionName

def newApkName = sprintf("%s_%s_v%s_%s.apk", [project, flavor, version, buildType])
Expand Down

0 comments on commit c310f59

Please sign in to comment.