Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
da3e5fe0
Commit
da3e5fe0
authored
Mar 09, 2022
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gradle6.5バージョンアップ
parent
880b65ad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
ABVJE_Launcher_Android/build.gradle
+8
-4
build.gradle
+1
-1
gradle/wrapper/gradle-wrapper.properties
+2
-2
No files found.
ABVJE_Launcher_Android/build.gradle
View file @
da3e5fe0
...
@@ -133,15 +133,18 @@ android {
...
@@ -133,15 +133,18 @@ android {
}
}
import
org.ajoberstar.grgit.*
import
org.ajoberstar.grgit.*
task
gitInfo
<<
{
task
gitInfo
{
doLast
{
description
'update githash.txt with current hash'
description
'update githash.txt with current hash'
def
grgit
=
Grgit
.
open
(
project
.
file
(
'..'
))
def
grgit
=
Grgit
.
open
(
project
.
file
(
'..'
))
def
gitfile
=
file
(
'assets/githash.txt'
)
def
gitfile
=
file
(
'assets/githash.txt'
)
gitfile
.
write
grgit
.
head
().
id
gitfile
.
write
grgit
.
head
().
id
}
}
}
preBuild
.
dependsOn
gitInfo
preBuild
.
dependsOn
gitInfo
task
convertToPackage
<<
{
task
convertToPackage
{
doLast
{
description
'convert to package for google-services.json'
description
'convert to package for google-services.json'
def
appModuleRootFolder
=
'.'
def
appModuleRootFolder
=
'.'
def
googleServicesJson
=
'google-services.json'
def
googleServicesJson
=
'google-services.json'
...
@@ -149,7 +152,8 @@ task convertToPackage << {
...
@@ -149,7 +152,8 @@ task convertToPackage << {
from
"fcm"
from
"fcm"
include
"$googleServicesJson"
include
"$googleServicesJson"
into
"$appModuleRootFolder"
into
"$appModuleRootFolder"
expand
PACKAGE_NAME
:
app_custompackagename
expand
PACKAGE_NAME:
app_custompackagename
}
}
}
}
}
preBuild
.
dependsOn
convertToPackage
preBuild
.
dependsOn
convertToPackage
...
...
build.gradle
View file @
da3e5fe0
...
@@ -6,7 +6,7 @@ buildscript {
...
@@ -6,7 +6,7 @@ buildscript {
google
()
google
()
}
}
dependencies
{
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
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
}
}
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
da3e5fe0
#
Tue Feb 19 17:59:22 JST 2019
#
Wed Mar 09 09:45:20 JST 2022
distributionBase
=
GRADLE_USER_HOME
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment