Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kotlin-bitflags
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
kotlin-bitflags
Commits
0e1e3a06
Verified
Commit
0e1e3a06
authored
4 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Release 1.0.0
parent
23d25543
No related branches found
No related tags found
No related merge requests found
Pipeline
#598
failed
4 years ago
Stage: build
Stage: test
Stage: release
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
.gitlab-ci.yml
build.gradle.kts
+1
-59
1 addition, 59 deletions
build.gradle.kts
gradle.properties
+18
-0
18 additions, 0 deletions
gradle.properties
with
31 additions
and
59 deletions
.gitlab-ci.yml
+
12
−
0
View file @
0e1e3a06
...
@@ -7,11 +7,13 @@ cache:
...
@@ -7,11 +7,13 @@ cache:
before_script
:
before_script
:
-
"
export
GRADLE_USER_HOME=$(pwd)/.gradle"
-
"
export
GRADLE_USER_HOME=$(pwd)/.gradle"
-
"
echo
$SIGNING_secretKey
|
base64
-d
>
$GRADLE_USER_HOME/sonatype_upload.gpg"
-
"
chmod
+x
./gradlew"
-
"
chmod
+x
./gradlew"
stages
:
stages
:
-
"
build"
-
"
build"
-
"
test"
-
"
test"
-
"
release"
build
:
build
:
stage
:
"
build"
stage
:
"
build"
...
@@ -34,3 +36,13 @@ test:
...
@@ -34,3 +36,13 @@ test:
-
"
*/build/reports/*.xml"
-
"
*/build/reports/*.xml"
except
:
except
:
-
"
tags"
-
"
tags"
release
:
stage
:
"
release"
script
:
-
"
./gradlew
publish"
artifacts
:
paths
:
-
"
*/build/libs/*"
# only:
# - "tags"
This diff is collapsed.
Click to expand it.
build.gradle.kts
+
1
−
59
View file @
0e1e3a06
...
@@ -16,6 +16,7 @@ plugins {
...
@@ -16,6 +16,7 @@ plugins {
id
(
"org.jetbrains.dokka"
)
version
"1.4.20"
id
(
"org.jetbrains.dokka"
)
version
"1.4.20"
id
(
"maven-publish"
)
id
(
"maven-publish"
)
id
(
"jacoco"
)
id
(
"jacoco"
)
id
(
"com.vanniktech.maven.publish"
)
version
"0.13.0"
}
}
repositories
{
repositories
{
...
@@ -71,62 +72,3 @@ tasks.withType<KotlinCompile> {
...
@@ -71,62 +72,3 @@ tasks.withType<KotlinCompile> {
)
)
}
}
}
}
tasks
{
val
sourcesJar
by
registering
(
Jar
::
class
)
{
dependsOn
(
JavaPlugin
.
CLASSES_TASK_NAME
)
archiveClassifier
.
set
(
"sources"
)
from
(
sourceSets
[
"main"
].
allSource
)
}
val
javadocJar
by
registering
(
Jar
::
class
)
{
dependsOn
(
"dokkaJavadoc"
)
archiveClassifier
.
set
(
"javadoc"
)
from
(
javadoc
)
}
artifacts
{
archives
(
sourcesJar
)
archives
(
javadocJar
)
archives
(
jar
)
}
}
publishing
{
publications
{
register
<
MavenPublication
>(
"mavenJava"
)
{
from
(
components
[
"java"
])
artifact
(
tasks
[
"sourcesJar"
])
artifact
(
tasks
[
"javadocJar"
])
groupId
=
"de.justjanne"
artifactId
=
"kotlin-bitflags"
version
=
"0.1.0"
pom
.
withXml
{
asNode
().
apply
{
appendNode
(
"description"
,
"Simple Bitflags for Kotlin"
)
appendNode
(
"name"
,
rootProject
.
name
)
appendNode
(
"url"
,
"https://git.kuschku.de/justJanne/kotlin-bitflags"
)
appendNode
(
"licenses"
).
appendNode
(
"license"
).
apply
{
appendNode
(
"name"
,
"Mozilla Public License Version 2.0"
)
appendNode
(
"url"
,
"https://www.mozilla.org/en-US/MPL/2.0/"
)
}
appendNode
(
"developers"
).
appendNode
(
"developer"
).
apply
{
appendNode
(
"name"
,
"Janne Mareike Koschinski"
)
appendNode
(
"email"
,
"support@kuschku.de"
)
appendNode
(
"organizationUrl"
,
"https://kuschku.de/"
)
}
appendNode
(
"scm"
).
apply
{
appendNode
(
"connection"
,
"scm:git:https://git.kuschku.de/justJanne/kotlin-bitflags.git"
)
appendNode
(
"developerConnection"
,
"scm:git:ssh://git.kuschku.de:2222/justJanne/kotlin-bitflags.git"
)
appendNode
(
"url"
,
"https://git.kuschku.de/justJanne/kotlin-bitflags"
)
}
appendNode
(
"properties"
).
apply
{
appendNode
(
"project.build.sourceEncoding"
,
"UTF-8"
)
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
gradle.properties
+
18
−
0
View file @
0e1e3a06
kotlin.code.style
=
official
kotlin.code.style
=
official
junit5Version
=
5.6.0
junit5Version
=
5.6.0
GROUP
=
de.justjanne
VERSION_NAME
=
1.0.0-RC
POM_ARTIFACT_ID
=
kotlin-bitflags
POM_NAME
=
kotlin-bitflags
POM_DESCRIPTION
=
Simple Bitflags for Kotlin
POM_URL
=
https://git.kuschku.de/justJanne/kotlin-bitflags
POM_SCM_URL
=
https://git.kuschku.de/justJanne/kotlin-bitflags
POM_SCM_CONNECTION
=
scm:git:https://git.kuschku.de/justJanne/kotlin-bitflags.git
POM_SCM_DEV_CONNECTION
=
scm:git:ssh://git.kuschku.de:2222/justJanne/kotlin-bitflags.git
POM_LICENSE_NAME
=
Mozilla Public License Version 2.0
POM_LICENSE_URL
=
https://www.mozilla.org/en-US/MPL/2.0/
POM_LICENSE_DIST
=
repo
POM_DEVELOPER_ID
=
justJanne
POM_DEVELOPER_NAME
=
Janne Mareike Koschinski
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment