Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
location-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d32d7dad
authored
Apr 19, 2016
by
Gil Sade
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added publish
parent
ad8dbf72
Pipeline
#6
skipped in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
build.gradle
build.gradle
View file @
d32d7dad
group
'com.ipgallery'
version
'1.0.0'
apply
plugin:
'java'
apply
plugin:
'maven-publish'
def
gitLog
()
{
return
"git log --pretty=format:'%h' -n 1"
.
execute
().
text
.
trim
().
replaceAll
(
"'"
,
""
)
}
group
=
'com.ipgallery'
version
=
'1.0.0-'
+
gitLog
()
sourceCompatibility
=
1.8
repositories
{
...
...
@@ -28,3 +29,20 @@ jar {
// to remove "no manifiest section for signature"
exclude
'META-INF/*.RSA'
,
'META-INF/*.SF'
,
'META-INF/*.DSA'
}
publishing
{
publications
{
repositories
.
maven
{
url
'http://172.16.1.132:8081/repository/internal'
credentials
{
username
"admin"
password
"giptmgr1"
}
}
mavenJava
(
MavenPublication
)
{
artifactId
'location-service'
from
components
.
java
}
}
}
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