Skip to content

Commit 0718bdf

Browse files
VolkerVolker
Volker
authored and
Volker
committed
resolve naming conflict between project name and artefactid
1 parent ee6f058 commit 0718bdf

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>jwebassembly-api</name>
3+
<name>JWebAssembly-API</name>
44
<comment></comment>
55
<projects>
66
</projects>

build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ apply plugin: 'java-library'
66
apply plugin: 'maven-publish'
77

88
group 'de.inetsoftware'
9+
archivesBaseName = 'jwebassembly-api'
910
version = '0.1'
1011

1112
repositories {
@@ -58,7 +59,7 @@ bintray {
5859
userOrg = 'i-net-software'
5960
licenses = ['Apache-2.0']
6061
vcsUrl = 'https://github.com/i-net-software'
61-
name = group + '.' + rootProject.name
62+
name = group + '.' + archivesBaseName
6263
version {
6364
released = new Date()
6465
}
@@ -71,6 +72,7 @@ publishing {
7172
from components.java
7273
artifact sourcesJar
7374
artifact javadocJar
75+
artifactId archivesBaseName
7476
pom.withXml {
7577
def root = asNode()
7678
root.appendNode('name', 'JWebAssembly-API')

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootProject.name='jwebassembly-api'
1+
rootProject.name='JWebAssembly-API'

0 commit comments

Comments
 (0)