Skip to content

Commit 708ceeb

Browse files
committed
Improve bintry build
1 parent 62e8b58 commit 708ceeb

File tree

3 files changed

+92
-12
lines changed

3 files changed

+92
-12
lines changed

bintray.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"vcs_url": "https://github.com/ljl/payup.git",
1111
"github_use_tag_release_notes": true,
1212
"github_release_notes_file": "RELEASE.txt",
13-
"licenses": ["MIT"],
13+
"licenses": ["Apache-2.0"],
1414
"labels": ["enonic", "enonic-xp", "payup", "ecommerce"],
1515
"public_download_numbers": false,
1616
"public_stats": false
@@ -25,7 +25,7 @@
2525
},
2626

2727
"files": [
28-
{ "includePattern": "build/libs/(.*)", "uploadPattern": "/no/iskald/store/1.0.8/$1" }
28+
{"includePattern": "build/libs/(.*\\\\.(jar|pom))", "uploadPattern" : "${mavenRepositoryPath}\$1"}
2929
],
3030

3131
"publish": true

build.gradle

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ apply plugin: 'com.jfrog.bintray'
2121
app {
2222
name = project.appName
2323
displayName = project.displayName
24-
vendorName = 'Enonic USA'
25-
vendorUrl = 'https://enonic.com'
24+
vendorName = 'Iskald'
25+
vendorUrl = 'http://iskald.no'
2626
}
2727

2828
dependencies {
2929
compile "com.enonic.xp:core-api:${xpVersion}"
3030
compile "com.enonic.xp:portal-api:${xpVersion}"
31-
include "com.enonic.xp:lib-content:${xpVersion}"
32-
include "com.enonic.xp:lib-portal:${xpVersion}"
33-
include "com.enonic.xp:lib-thymeleaf:${xpVersion}"
34-
include "com.enonic.xp:lib-xslt:${xpVersion}"
35-
include "com.enonic.xp:lib-auth:${xpVersion}"
36-
include "com.enonic.xp:lib-context:${xpVersion}"
37-
include "com.enonic.xp:lib-i18n:${xpVersion}"
38-
include "com.stripe:stripe-java:2.5.0"
31+
compile "com.enonic.xp:lib-content:${xpVersion}"
32+
compile "com.enonic.xp:lib-portal:${xpVersion}"
33+
compile "com.enonic.xp:lib-thymeleaf:${xpVersion}"
34+
compile "com.enonic.xp:lib-xslt:${xpVersion}"
35+
compile "com.enonic.xp:lib-auth:${xpVersion}"
36+
compile "com.enonic.xp:lib-context:${xpVersion}"
37+
compile "com.enonic.xp:lib-i18n:${xpVersion}"
38+
compile "com.stripe:stripe-java:2.5.0"
3939
}
4040

4141
repositories {
@@ -95,3 +95,13 @@ bintray {
9595
}
9696
}
9797
}
98+
99+
task createPom << {
100+
pom {
101+
project {
102+
groupId project.group
103+
artifactId 'payup'
104+
version project.version
105+
}
106+
}.writeTo("pom.xml")
107+
}

pom.xml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>no.iskald</groupId>
6+
<artifactId>payup</artifactId>
7+
<version>1.0.8</version>
8+
<dependencies>
9+
<dependency>
10+
<groupId>com.enonic.xp</groupId>
11+
<artifactId>lib-i18n</artifactId>
12+
<version>6.5.3</version>
13+
<scope>compile</scope>
14+
</dependency>
15+
<dependency>
16+
<groupId>com.enonic.xp</groupId>
17+
<artifactId>core-api</artifactId>
18+
<version>6.5.3</version>
19+
<scope>compile</scope>
20+
</dependency>
21+
<dependency>
22+
<groupId>com.enonic.xp</groupId>
23+
<artifactId>lib-thymeleaf</artifactId>
24+
<version>6.5.3</version>
25+
<scope>compile</scope>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.enonic.xp</groupId>
29+
<artifactId>lib-context</artifactId>
30+
<version>6.5.3</version>
31+
<scope>compile</scope>
32+
</dependency>
33+
<dependency>
34+
<groupId>com.enonic.xp</groupId>
35+
<artifactId>portal-api</artifactId>
36+
<version>6.5.3</version>
37+
<scope>compile</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>com.enonic.xp</groupId>
41+
<artifactId>lib-portal</artifactId>
42+
<version>6.5.3</version>
43+
<scope>compile</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.enonic.xp</groupId>
47+
<artifactId>lib-content</artifactId>
48+
<version>6.5.3</version>
49+
<scope>compile</scope>
50+
</dependency>
51+
<dependency>
52+
<groupId>com.enonic.xp</groupId>
53+
<artifactId>lib-xslt</artifactId>
54+
<version>6.5.3</version>
55+
<scope>compile</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.enonic.xp</groupId>
59+
<artifactId>lib-auth</artifactId>
60+
<version>6.5.3</version>
61+
<scope>compile</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>com.stripe</groupId>
65+
<artifactId>stripe-java</artifactId>
66+
<version>2.5.0</version>
67+
<scope>compile</scope>
68+
</dependency>
69+
</dependencies>
70+
</project>

0 commit comments

Comments
 (0)