Skip to content
This repository was archived by the owner on Jun 11, 2023. It is now read-only.

Commit 15f9229

Browse files
committed
<master> Add upload to bintray task
1 parent 282b1c9 commit 15f9229

File tree

3 files changed

+55
-2
lines changed

3 files changed

+55
-2
lines changed

library/build.gradle

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
dependencies {
6+
classpath 'com.novoda:bintray-release:0.3.4'
7+
}
8+
}
9+
10+
apply plugin: 'com.novoda.bintray-release'
11+
112
dependencies {
213
testCompile 'junit:junit:4.11'
14+
}
15+
16+
publish {
17+
groupId = 'com.devindi.mapper'
18+
artifactId = 'library'
19+
publishVersion = '0.1'
20+
desc = 'An annotation processor for generating bean mappers'
21+
licences = ['MIT']
22+
website = 'https://github.com/devindi/mapper-generator'
323
}

processor/build.gradle

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
dependencies {
6+
classpath 'com.novoda:bintray-release:0.3.4'
7+
8+
}
9+
}
10+
11+
apply plugin: 'com.novoda.bintray-release'
12+
13+
repositories {
14+
maven {
15+
url 'https://dl.bintray.com/devindi/maven/'
16+
}
17+
}
18+
119
dependencies {
2-
compile project(':library')
20+
compile 'com.devindi.mapper:library:0.1'
321
compile 'com.squareup:javapoet:1.9.0'
22+
}
23+
24+
publish {
25+
groupId = 'com.devindi.mapper'
26+
artifactId = 'processor'
27+
publishVersion = '0.1.1'
28+
desc = 'An annotation processor for generating bean mappers'
29+
licences = ['MIT']
30+
website = 'https://github.com/devindi/mapper-generator'
431
}

sample/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ apply plugin: 'net.ltgt.apt'
1414

1515
mainClassName = 'com.example.Main'
1616

17+
repositories {
18+
maven {
19+
url 'https://dl.bintray.com/devindi/maven/'
20+
}
21+
}
22+
1723
dependencies {
1824
compile project(':library')
19-
apt project(':processor')
25+
apt 'com.devindi.mapper:processor:0.1.1'
2026
}

0 commit comments

Comments
 (0)