Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
AndroidUtils
VPNTunnelProxy
Commits
f7c2ee37
Commit
f7c2ee37
authored
Dec 21, 2020
by
Daniel Wolf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.frostnerd.com/AndroidUtils/baselibrarykt
parents
eff4c05e
39296f51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
21 deletions
+13
-21
.gitlab-ci.yml
.gitlab-ci.yml
+6
-14
build.gradle
build.gradle
+4
-4
library/build.gradle
library/build.gradle
+3
-3
No files found.
.gitlab-ci.yml
View file @
f7c2ee37
...
...
@@ -3,21 +3,13 @@ image: thyrlian/android-sdk
before_script
:
-
chmod +x gradlew
test
:
test
-build-deploy
:
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 {} \;
-
./gradlew clean assembleRelease sourcesJar javadocJar test --stacktrace
-
./gradlew publish --stacktrace
only
:
-
/^deploy.*$/
except
:
-
/^no_ci.*$/
-
/^no_tests.*$/
artifacts
:
when
:
always
paths
:
-
tests.zip
deploy
:
stage
:
deploy
script
:
-
./gradlew clean assembleRelease sourcesJar javadocJar
-
./gradlew publish --stacktrace
\ No newline at end of file
-
/^no_tests.*$/
\ No newline at end of file
build.gradle
View file @
f7c2ee37
...
...
@@ -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.1
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.
2
1"
:
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 @
f7c2ee37
...
...
@@ -64,10 +64,10 @@ dependencies {
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-core:$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
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