|
1 | | -plugins { |
2 | | - id "com.jfrog.bintray" version "1.8.5" |
3 | | - id 'java-library' |
4 | | - id 'maven' |
5 | | - id 'maven-publish' |
6 | | -} |
7 | | - |
8 | | -test.onlyIf { true } |
9 | | - |
10 | | -def pomConfig = { |
11 | | - licenses { |
12 | | - license { |
13 | | - name "The Apache Software License, Version 2.0" |
14 | | - url "http://www.apache.org/licenses/LICENSE-2.0.txt" |
15 | | - distribution "repo" |
16 | | - } |
17 | | - } |
18 | | - developers { |
19 | | - developer { |
20 | | - id "danielbustamante" |
21 | | - name "Daniel Bustamante Ospina" |
22 | | - email "danibust@bancolombia.com.co" |
23 | | - } |
24 | | - } |
25 | | - |
26 | | - scm { |
27 | | - url "git@github.com:reactive-commons/reactive-commons-java.git" |
28 | | - } |
29 | | -} |
30 | | - |
31 | | -publishing { |
32 | | - publications { |
33 | | - MyPublication(MavenPublication) { |
34 | | - from components.java |
35 | | - artifact sourcesJar { |
36 | | - classifier "sources" |
37 | | - } |
38 | | - artifact javadocJar { |
39 | | - classifier "javadoc" |
40 | | - } |
41 | | - groupId 'org.reactivecommons' |
42 | | - artifactId 'async-commons-starter' |
43 | | - version project.property('version') |
44 | | - pom.withXml { |
45 | | - def root = asNode() |
46 | | - root.appendNode('description', 'Async Commons Starter') |
47 | | - root.appendNode('name', 'async-commons-starter') |
48 | | - root.appendNode('url', 'https://site_for_lib.tld') |
49 | | - root.children().last() + pomConfig |
50 | | - } |
51 | | - } |
52 | | - } |
53 | | -} |
54 | | - |
55 | | -bintray { |
56 | | - user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER') |
57 | | - key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY') |
58 | | - publications = ['MyPublication'] |
59 | | - publish = true |
60 | | - pkg { |
61 | | - repo = 'maven-artifacts' |
62 | | - userOrg = 'reactive-commons' |
63 | | - name = 'reactive-commons' |
64 | | - licenses = ['Apache-2.0'] |
65 | | - vcsUrl = 'git@github.com:reactive-commons/reactive-commons-java.git' |
66 | | - version { |
67 | | - name = project.property('version') |
68 | | - desc = 'First version' |
69 | | - released = new Date() |
70 | | - vcsTag = project.property('version') |
71 | | - } |
72 | | - } |
| 1 | +ext { |
| 2 | + artifactId = 'async-commons-starter' |
| 3 | + artifactDescription = 'Async Commons Starter' |
73 | 4 | } |
74 | 5 |
|
75 | 6 | dependencies { |
76 | | - api project(":async-rabbit") |
77 | | - compileOnly('org.springframework.boot:spring-boot-starter') |
| 7 | + api project(':async-rabbit') |
| 8 | + compileOnly 'org.springframework.boot:spring-boot-starter' |
78 | 9 |
|
79 | 10 | annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' |
80 | 11 |
|
|
0 commit comments