Commit da3e5fe0 by onuma

gradle6.5バージョンアップ

parent 880b65ad
......@@ -133,15 +133,18 @@ android {
}
import org.ajoberstar.grgit.*
task gitInfo << {
task gitInfo {
doLast {
description 'update githash.txt with current hash'
def grgit = Grgit.open(project.file('..'))
def gitfile=file('assets/githash.txt')
def gitfile = file('assets/githash.txt')
gitfile.write grgit.head().id
}
}
preBuild.dependsOn gitInfo
task convertToPackage << {
task convertToPackage {
doLast {
description 'convert to package for google-services.json'
def appModuleRootFolder = '.'
def googleServicesJson = 'google-services.json'
......@@ -149,7 +152,8 @@ task convertToPackage << {
from "fcm"
include "$googleServicesJson"
into "$appModuleRootFolder"
expand PACKAGE_NAME : app_custompackagename
expand PACKAGE_NAME: app_custompackagename
}
}
}
preBuild.dependsOn convertToPackage
......
......@@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.android.tools.build:gradle:4.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
......
#Tue Feb 19 17:59:22 JST 2019
#Wed Mar 09 09:45:20 JST 2022
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment