Skip to content

Commit 70cf264

Browse files
remove personal repository and pump version
1 parent 636d3f5 commit 70cf264

File tree

8 files changed

+42
-107
lines changed

8 files changed

+42
-107
lines changed

bintray.gradle

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apply plugin: 'com.jfrog.bintray'
2+
3+
Properties properties = new Properties()
4+
properties.load(project.rootProject.file('local.properties').newDataInputStream())
5+
6+
bintray {
7+
user = properties.getProperty("bintray.user")
8+
key = properties.getProperty("bintray.apikey")
9+
10+
configurations = ['archives']
11+
pkg {
12+
repo = 'maven'
13+
name = 'Chronometro'
14+
15+
userOrg = user
16+
desc = POM_DESCRIPTION
17+
websiteUrl = POM_SCM_URL
18+
vcsUrl = POM_SCM_CONNECTION
19+
licenses = ["Apache-2.0"]
20+
publish = true
21+
publicDownloadNumbers = true
22+
version {
23+
desc = POM_DESCRIPTION
24+
gpg {
25+
sign = true //Determines whether to GPG sign the files. The default is false
26+
passphrase = properties.getProperty("bintray.gpg.password")
27+
//Optional. The passphrase for GPG signing'
28+
}
29+
}
30+
}
31+
}
32+
33+

build.gradle

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1+
12
buildscript {
23
repositories {
34
mavenCentral()
45
jcenter()
5-
maven {
6-
url 'https://dl.bintray.com/wwwadm-tv4/maven/'
7-
}
86
}
97

108
dependencies {
@@ -17,9 +15,7 @@ buildscript {
1715
allprojects {
1816
repositories {
1917
mavenCentral()
20-
maven {
21-
url 'https://dl.bintray.com/wwwadm-tv4/maven/'
22-
}
18+
jcenter()
2319
}
2420

2521
group = GROUP
@@ -31,4 +27,3 @@ ext {
3127
compileSdkVersion = 21
3228
buildToolsVersion = "23.0.1"
3329
}
34-

chronometro-annotations/build.gradle

+1-31
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,10 @@
11
apply plugin: 'java'
2-
apply plugin: 'com.jfrog.bintray'
2+
apply from: "$rootProject.projectDir/bintray.gradle"
33

44
targetCompatibility = JavaVersion.VERSION_1_6
55
sourceCompatibility = JavaVersion.VERSION_1_6
66

77

8-
Properties properties = new Properties()
9-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
10-
11-
bintray {
12-
user = properties.getProperty("bintray.user")
13-
key = properties.getProperty("bintray.apikey")
14-
15-
configurations = ['archives']
16-
pkg {
17-
repo = 'maven'
18-
name = 'Chronometro'
19-
20-
userOrg = user
21-
desc = POM_DESCRIPTION
22-
websiteUrl = POM_SCM_URL
23-
vcsUrl = POM_SCM_CONNECTION
24-
licenses = ["Apache-2.0"]
25-
publish = true
26-
publicDownloadNumbers = true
27-
version {
28-
desc = POM_DESCRIPTION
29-
gpg {
30-
sign = true //Determines whether to GPG sign the files. The default is false
31-
passphrase = properties.getProperty("bintray.gpg.password")
32-
//Optional. The passphrase for GPG signing'
33-
}
34-
}
35-
}
36-
}
37-
388
task sourcesJar(type: Jar) {
399
from sourceSets.main.java.srcDirs
4010
classifier = 'sources'

chronometro-example/build.gradle

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ buildscript {
22
dependencies {
33
repositories {
44
mavenCentral()
5-
6-
maven {
7-
url 'https://dl.bintray.com/wwwadm-tv4/maven/'
8-
}
5+
jcenter()
96
}
107

118
classpath 'com.android.tools.build:gradle:1.5.0'
@@ -20,7 +17,7 @@ apply plugin: 'chronometro'
2017
dependencies {
2118
repositories {
2219
mavenCentral()
23-
20+
jcenter()
2421
}
2522
}
2623

chronometro-plugin/build.gradle

+1-29
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'groovy'
2-
apply plugin: 'com.jfrog.bintray'
2+
apply from: "$rootProject.projectDir/bintray.gradle"
33

44

55
targetCompatibility = JavaVersion.VERSION_1_7
@@ -27,35 +27,7 @@ artifacts {
2727
archives sourcesJar
2828
}
2929

30-
Properties properties = new Properties()
31-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
3230

33-
bintray {
34-
user = properties.getProperty("bintray.user")
35-
key = properties.getProperty("bintray.apikey")
36-
37-
configurations = ['archives']
38-
pkg {
39-
repo = 'maven'
40-
name = 'Chronometro'
41-
42-
userOrg = user
43-
desc = POM_DESCRIPTION
44-
websiteUrl = POM_SCM_URL
45-
vcsUrl = POM_SCM_CONNECTION
46-
licenses = ["Apache-2.0"]
47-
publish = true
48-
publicDownloadNumbers = true
49-
version {
50-
desc = POM_DESCRIPTION
51-
gpg {
52-
sign = true //Determines whether to GPG sign the files. The default is false
53-
passphrase = properties.getProperty("bintray.gpg.password")
54-
//Optional. The passphrase for GPG signing'
55-
}
56-
}
57-
}
58-
}
5931

6032
install {
6133
repositories.mavenInstaller {

chronometro-plugin/src/main/groovy/se/tv4/chronometro/plugin/ChronometroPlugin.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class chronometroPlugin implements Plugin<Project>
3434
}
3535

3636
project.dependencies {
37-
debugCompile 'se.tv4:chronometro-runtime:0.3.0'
37+
debugCompile 'se.tv4:chronometro-runtime:0.4.0'
3838
// TODO this should come transitively
3939
debugCompile 'org.aspectj:aspectjrt:1.8.6'
4040
}

chronometro-runtime/build.gradle

+1-33
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import org.aspectj.bridge.MessageHandler
33
import org.aspectj.tools.ajc.Main
44

55
apply plugin: 'com.android.library'
6-
apply plugin: 'com.jfrog.bintray'
76
apply plugin: 'com.github.dcendents.android-maven'
7+
apply from: "$rootProject.projectDir/bintray.gradle"
88

99
dependencies {
1010
compile 'org.aspectj:aspectjrt:1.8.6'
@@ -78,38 +78,6 @@ artifacts {
7878
archives sourcesJar
7979
}
8080

81-
Properties properties = new Properties()
82-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
83-
84-
85-
bintray {
86-
user = properties.getProperty("bintray.user")
87-
key = properties.getProperty("bintray.apikey")
88-
89-
configurations = ['archives']
90-
pkg {
91-
repo = 'maven'
92-
name = 'Chronometro'
93-
94-
userOrg = user
95-
desc = POM_DESCRIPTION
96-
websiteUrl = POM_SCM_URL
97-
vcsUrl = POM_SCM_CONNECTION
98-
licenses = ["Apache-2.0"]
99-
publish = true
100-
publicDownloadNumbers = true
101-
version {
102-
desc = POM_DESCRIPTION
103-
gpg {
104-
sign = true //Determines whether to GPG sign the files. The default is false
105-
passphrase = properties.getProperty("bintray.gpg.password")
106-
//Optional. The passphrase for GPG signing'
107-
}
108-
}
109-
}
110-
}
111-
112-
11381
install {
11482
repositories.mavenInstaller {
11583
// This generates POM.xml with proper parameters

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919

20-
VERSION_NAME=0.3.0
20+
VERSION_NAME=0.4.0
2121
GROUP=se.tv4
2222

2323
POM_DESCRIPTION=Annotation-triggered method call logging for measuring performance in your app in debug mode

0 commit comments

Comments
 (0)