Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TouHou.FM
Client
fm.touhou.touhoufm
Commits
e4362312
Commit
e4362312
authored
Feb 12, 2019
by
Daniel Sonck
Browse files
Merge pull request #32 in THFM/fm.touhou.touhoufm from bugfix/THFMA-19 to development
* commit '
a96bf343
': [THFMA-19] Improve publishing
parents
2f2e766b
a96bf343
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
e4362312
...
...
@@ -27,7 +27,7 @@ if(project.hasProperty("TouHouFM.signing")
ext
{
git
=
Grgit
.
open
()
gitVersionCode
=
git
.
tag
.
list
().
size
()+
11
// Add the base that is still on google
gitVersionName
=
"${
git.describe(
)}"
gitVersionName
=
git
.
describe
(
{
tags
=
true
})
}
repositories
{
...
...
@@ -113,4 +113,7 @@ if(file('release.gradle').exists()) {
apply
from:
'release.gradle'
}
task
printVersion
()
{
println
(
"Version name: $gitVersionName"
)
println
(
"Version code: $gitVersionCode"
)
}
build.gradle
View file @
e4362312
...
...
@@ -7,7 +7,7 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.3.1'
classpath
'org.ajoberstar
:grgit:2.1
.0'
classpath
'org.ajoberstar
.grgit:grgit-gradle:3.0
.0'
}
}
...
...
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