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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
17 deletions
+21
-17
ABVJE_Launcher_Android/build.gradle
+18
-14
build.gradle
+1
-1
gradle/wrapper/gradle-wrapper.properties
+2
-2
No files found.
ABVJE_Launcher_Android/build.gradle
View file @
da3e5fe0
...
@@ -133,23 +133,27 @@ android {
...
@@ -133,23 +133,27 @@ android {
}
}
import
org.ajoberstar.grgit.*
import
org.ajoberstar.grgit.*
task
gitInfo
<<
{
task
gitInfo
{
description
'update githash.txt with current hash'
doLast
{
def
grgit
=
Grgit
.
open
(
project
.
file
(
'..'
))
description
'update githash.txt with current hash'
def
gitfile
=
file
(
'assets/githash.txt'
)
def
grgit
=
Grgit
.
open
(
project
.
file
(
'..'
))
gitfile
.
write
grgit
.
head
().
id
def
gitfile
=
file
(
'assets/githash.txt'
)
gitfile
.
write
grgit
.
head
().
id
}
}
}
preBuild
.
dependsOn
gitInfo
preBuild
.
dependsOn
gitInfo
task
convertToPackage
<<
{
task
convertToPackage
{
description
'convert to package for google-services.json'
doLast
{
def
appModuleRootFolder
=
'.'
description
'convert to package for google-services.json'
def
googleServicesJson
=
'google-services.json'
def
appModuleRootFolder
=
'.'
copy
{
def
googleServicesJson
=
'google-services.json'
from
"fcm"
copy
{
include
"$googleServicesJson"
from
"fcm"
into
"$appModuleRootFolder"
include
"$googleServicesJson"
expand
PACKAGE_NAME
:
app_custompackagename
into
"$appModuleRootFolder"
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