Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AndroidUtils
NavigationDrawerActivity
Commits
b77fa913
Commit
b77fa913
authored
Dec 25, 2020
by
Daniel Wolf
Browse files
Merge branch 'master' of
https://git.frostnerd.com/AndroidUtils/baselibrarykt
parents
ddd3f837
39296f51
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b77fa913
...
...
@@ -6,18 +6,10 @@ before_script:
test
:
stage
:
test
script
:
-
./gradlew clean assembleRelease test --stacktrace || (find . -type d -wholename "**reports/tests" -exec zip -ru tests.zip {} \; && exit 1)
-
find . -type d -wholename "**reports/tests" -exec zip -ru tests.zip {} \;
except
:
-
/^no_ci.*$/
-
/^no_tests.*$/
artifacts
:
when
:
always
paths
:
-
tests.zip
-
./gradlew clean assembleRelease test --stacktrace
deploy
:
stage
:
deploy
script
:
-
./gradlew clean assembleRelease sourcesJar javadocJar
-
./gradlew publish --stacktrace
\ No newline at end of file
test-build-deploy
:
stage
:
test
script
:
-
./gradlew clean assembleRelease sourcesJar javadocJar test --stacktrace
-
./gradlew publish --stacktrace
\ No newline at end of file
build.gradle
View file @
b77fa913
...
...
@@ -24,13 +24,13 @@ ext.nexus_user = getNexusUser()
ext
.
nexus_password
=
getNexusPassword
()
buildscript
{
ext
.
ANDROID_COMPILE_SDK
=
(
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)
==
null
?
29
:
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)).
toInteger
()
ext
.
ANDROID_COMPILE_SDK
=
(
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)
==
null
?
30
:
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)).
toInteger
()
ext
.
ANDROID_TARGET_SDK
=
(
System
.
getenv
(
"ANDROID_TARGET_SDK"
)
==
null
?
ANDROID_COMPILE_SDK
:
System
.
getenv
(
"ANDROID_TARGET_SDK"
)).
toInteger
()
ext
.
ANDROID_MIN_SDK
=
(
System
.
getenv
(
"ANDROID_MIN_SDK"
)
==
null
?
21
:
System
.
getenv
(
"ANDROID_COMPILE_SDK"
)).
toInteger
()
ext
.
KOTLIN_VERSION
=
System
.
getenv
(
"KOTLIN_VERSION"
)
==
null
?
"1.4.
0
"
:
System
.
getenv
(
"KOTLIN_VERSION"
)
ext
.
ANDROID_GRADLE_PLUGIN_VERSION
=
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
==
null
?
"4.
0
.1"
:
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
ext
.
KOTLIN_VERSION
=
System
.
getenv
(
"KOTLIN_VERSION"
)
==
null
?
"1.4.
21
"
:
System
.
getenv
(
"KOTLIN_VERSION"
)
ext
.
ANDROID_GRADLE_PLUGIN_VERSION
=
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
==
null
?
"4.
1
.1"
:
System
.
getenv
(
"ANDROID_GRADLE_PLUGIN_VERSION"
)
ext
.
APPCOMPAT_VERSION
=
"1.2.0"
ext
.
COROUTINE_VERSION
=
"1.
3.9
"
ext
.
COROUTINE_VERSION
=
"1.
4.2
"
ext
.
RECYCLERVIEW_VERSION
=
"1.1.0"
ext
.
ROBOELECTRIC_VERSION
=
"4.3"
...
...
library/build.gradle
View file @
b77fa913
...
...
@@ -61,10 +61,10 @@ dependencies {
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-core:$COROUTINE_VERSION"
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-android:$COROUTINE_VERSION"
testImplementation
'junit:junit:4.13'
testImplementation
'junit:junit:4.13
.1
'
//testImplementation "org.robolectric:robolectric:$ROBOELECTRIC_VERSION"
androidTestImplementation
'androidx.test:runner:1.
2
.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.
2
.0'
androidTestImplementation
'androidx.test:runner:1.
3
.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.
3
.0'
}
configurations
.
all
{
...
...
Write
Preview
Supports
Markdown
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