mirror of
https://github.com/yuliskov/SmartTube.git
synced 2025-05-17 03:15:56 +08:00
upd gradle versions
This commit is contained in:
Submodule MediaServiceCore updated: 3bc1857e1d...86d7b6e9f7
Submodule SharedModules updated: 9c22818cfa...3203cd507e
@ -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
|
||||
|
||||
@ -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
|
||||
|
@ -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
gradle/wrapper/gradle-wrapper.properties
vendored
1
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||
|
@ -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])
|
||||
|
Reference in New Issue
Block a user