Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
corewars-library
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
st-praktikum16-g1
corewars-library
Commits
53d349fa
Unverified
Commit
53d349fa
authored
Sep 22, 2016
by
Benedikt Geißler
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable publishing the jar archive to bintray
parent
b6492e73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
build.gradle
build.gradle
+50
-0
No files found.
build.gradle
View file @
53d349fa
def
VERSION
=
'0.0.1'
buildscript
{
repositories
{
jcenter
()
}
dependencies
{
classpath
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+'
}
}
apply
plugin:
'java'
apply
plugin:
'maven'
apply
plugin:
'maven-publish'
apply
plugin:
'checkstyle'
apply
plugin:
'jacoco'
...
...
@@ -6,6 +19,11 @@ apply plugin: 'jacoco'
apply
plugin:
'idea'
apply
plugin:
'eclipse'
apply
plugin:
'com.jfrog.bintray'
group
=
'gone.corewars.library'
version
=
VERSION
repositories
{
jcenter
()
mavenCentral
()
...
...
@@ -24,3 +42,35 @@ jacocoTestReport {
description
=
"Generate Jacoco coverage reports after running tests."
additionalSourceDirs
=
files
(
sourceSets
.
main
.
java
.
srcDirs
)
}
publishing
{
publications
{
JarPublication
(
MavenPublication
)
{
from
components
.
java
groupId
'gone.corewars.library'
artifactId
'corewars-lib'
version
VERSION
}
}
}
bintray
{
user
=
System
.
getenv
(
'BINTRAY_USER'
)
key
=
System
.
getenv
(
'BINTRAY_KEY'
)
publications
=
[
'JarPublication'
]
pkg
{
repo
=
'corewars-library'
name
=
'corewars-lib'
userOrg
=
'st-praktikum16-g1'
licenses
=
[
'Apache-2.0'
]
websiteUrl
=
'https://gitlab.com/st-praktikum16-g1/corewars-lib'
vcsUrl
=
'https://gitlab.com/st-praktikum16-g1/corewars-lib.git'
issueTrackerUrl
=
'https://gitlab.com/st-praktikum16-g1/corewars-lib/issues'
version
{
name
=
VERSION
vcsTag
=
VERSION
released
=
new
Date
()
}
}
}
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