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
5b76ace2
Commit
5b76ace2
authored
Feb 11, 2019
by
Daniel Sonck
Browse files
Merge pull request #27 in THFM/fm.touhou.touhoufm from feature/THFMA-16 to development
* commit '
8195d3b7
': Adding files for [THFMA-16]
parents
3f6f4dd7
8195d3b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
5b76ace2
import
org.ajoberstar.grgit.Grgit
apply
plugin:
'com.android.application'
apply
plugin:
'com.github.triplet.play'
if
(
project
.
hasProperty
(
"TouHouFM.signing"
)
&&
new
File
(
project
.
property
(
"TouHouFM.signing"
)
+
".gradle"
).
exists
())
{
apply
from:
project
.
property
(
"TouHouFM.signing"
)
+
".gradle"
}
ext
{
git
=
Grgit
.
open
()
gitVersionCode
=
git
.
tag
.
list
().
size
()+
11
// Add the base that is still on google
gitVersionName
=
"${git.describe()}"
}
buildscript
{
repositories
{
jcenter
()
...
...
@@ -28,6 +14,22 @@ buildscript {
}
}
plugins
{
id
'com.android.application'
id
'com.github.triplet.play'
version
'2.1.0'
}
if
(
project
.
hasProperty
(
"TouHouFM.signing"
)
&&
new
File
(
project
.
property
(
"TouHouFM.signing"
)
+
".gradle"
).
exists
())
{
apply
from:
project
.
property
(
"TouHouFM.signing"
)
+
".gradle"
}
ext
{
git
=
Grgit
.
open
()
gitVersionCode
=
git
.
tag
.
list
().
size
()+
11
// Add the base that is still on google
gitVersionName
=
"${git.describe()}"
}
repositories
{
jcenter
()
maven
{
...
...
@@ -60,11 +62,6 @@ List<String> dirs = [
'template'
]
// boilerplate code that is generated by the sample template process
android
{
playAccountConfigs
{
defaultAccountConfig
{
jsonFile
=
file
(
'keys.json'
)
}
}
compileSdkVersion
27
...
...
@@ -76,7 +73,6 @@ android {
versionCode
gitVersionCode
versionName
gitVersionName
playAccountConfig
=
playAccountConfigs
.
defaultAccountConfig
}
compileOptions
{
...
...
@@ -112,3 +108,9 @@ android {
}
}
}
if
(
file
(
'release.gradle'
).
exists
())
{
apply
from:
'release.gradle'
}
build.gradle
View file @
5b76ace2
...
...
@@ -8,8 +8,6 @@ buildscript {
dependencies
{
classpath
'com.android.tools.build:gradle:3.3.1'
classpath
'org.ajoberstar:grgit:2.1.0'
classpath
'com.github.triplet.gradle:play-publisher:1.2.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