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
3d7af54b
Commit
3d7af54b
authored
Jun 02, 2021
by
Daniel Wolf
Browse files
Merge branch 'master' of
https://git.frostnerd.com/AndroidUtils/baselibrarykt
parents
33bb60da
0ab068ee
Pipeline
#7772
passed with stage
in 1 minute and 15 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3d7af54b
...
...
@@ -3,13 +3,8 @@ image: thyrlian/android-sdk
before_script
:
-
chmod +x gradlew
test
:
stage
:
test
script
:
-
./gradlew clean assembleRelease test --stacktrace
test-build-deploy
:
stage
:
test
script
:
-
./gradlew clean assembleRelease sourcesJar
javadocJar
test --stacktrace
-
./gradlew clean assembleRelease sourcesJar test --stacktrace
-
./gradlew publish --stacktrace
\ No newline at end of file
build.gradle
View file @
3d7af54b
...
...
@@ -46,7 +46,6 @@ buildscript {
dependencies
{
classpath
"com.android.tools.build:gradle:$ANDROID_GRADLE_PLUGIN_VERSION"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath
"org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18"
}
}
...
...
library/build.gradle
View file @
3d7af54b
apply
plugin:
'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'org.jetbrains.dokka-android'
group
=
'com.frostnerd.utilskt'
ext
{
...
...
@@ -77,16 +76,6 @@ task sourcesJar(type: Jar) {
classifier
=
'sources'
}
task
dokkaJavadoc
(
type:
org
.
jetbrains
.
dokka
.
gradle
.
DokkaTask
)
{
outputFormat
=
'javadoc'
outputDirectory
=
"$buildDir/javadoc"
}
task
javadocJar
(
type:
Jar
,
dependsOn:
dokkaJavadoc
)
{
classifier
=
'javadoc'
from
"$buildDir/javadoc"
}
afterEvaluate
{
publishing
{
publications
{
...
...
@@ -99,9 +88,6 @@ afterEvaluate {
artifact
(
sourcesJar
)
{
classifier
=
'sources'
}
artifact
(
javadocJar
)
{
classifier
=
'javadoc'
}
pom
.
withXml
{
def
dependenciesNode
=
asNode
().
appendNode
(
'dependencies'
)
...
...
@@ -128,4 +114,4 @@ afterEvaluate {
}
}
}
publish
.
dependsOn
(
"assembleRelease"
,
"sourcesJar"
,
"javadocJar"
)
\ No newline at end of file
publish
.
dependsOn
(
"assembleRelease"
,
"sourcesJar"
)
\ No newline at end of file
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