File tree 8 files changed +42
-107
lines changed
src/main/groovy/se/tv4/chronometro/plugin
8 files changed +42
-107
lines changed Original file line number Diff line number Diff line change
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
+
Original file line number Diff line number Diff line change
1
+
1
2
buildscript {
2
3
repositories {
3
4
mavenCentral()
4
5
jcenter()
5
- maven {
6
- url ' https://dl.bintray.com/wwwadm-tv4/maven/'
7
- }
8
6
}
9
7
10
8
dependencies {
@@ -17,9 +15,7 @@ buildscript {
17
15
allprojects {
18
16
repositories {
19
17
mavenCentral()
20
- maven {
21
- url ' https://dl.bintray.com/wwwadm-tv4/maven/'
22
- }
18
+ jcenter()
23
19
}
24
20
25
21
group = GROUP
31
27
compileSdkVersion = 21
32
28
buildToolsVersion = " 23.0.1"
33
29
}
34
-
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
- apply plugin : ' com.jfrog. bintray'
2
+ apply from : " $r ootProject . projectDir / bintray.gradle "
3
3
4
4
targetCompatibility = JavaVersion . VERSION_1_6
5
5
sourceCompatibility = JavaVersion . VERSION_1_6
6
6
7
7
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
-
38
8
task sourcesJar (type : Jar ) {
39
9
from sourceSets. main. java. srcDirs
40
10
classifier = ' sources'
Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ buildscript {
2
2
dependencies {
3
3
repositories {
4
4
mavenCentral()
5
-
6
- maven {
7
- url ' https://dl.bintray.com/wwwadm-tv4/maven/'
8
- }
5
+ jcenter()
9
6
}
10
7
11
8
classpath ' com.android.tools.build:gradle:1.5.0'
@@ -20,7 +17,7 @@ apply plugin: 'chronometro'
20
17
dependencies {
21
18
repositories {
22
19
mavenCentral()
23
-
20
+ jcenter()
24
21
}
25
22
}
26
23
Original file line number Diff line number Diff line change 1
1
apply plugin : ' groovy'
2
- apply plugin : ' com.jfrog. bintray'
2
+ apply from : " $r ootProject . projectDir / bintray.gradle "
3
3
4
4
5
5
targetCompatibility = JavaVersion . VERSION_1_7
@@ -27,35 +27,7 @@ artifacts {
27
27
archives sourcesJar
28
28
}
29
29
30
- Properties properties = new Properties ()
31
- properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
32
30
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
- }
59
31
60
32
install {
61
33
repositories. mavenInstaller {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class chronometroPlugin implements Plugin<Project>
34
34
}
35
35
36
36
project. dependencies {
37
- debugCompile ' se.tv4:chronometro-runtime:0.3 .0'
37
+ debugCompile ' se.tv4:chronometro-runtime:0.4 .0'
38
38
// TODO this should come transitively
39
39
debugCompile ' org.aspectj:aspectjrt:1.8.6'
40
40
}
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import org.aspectj.bridge.MessageHandler
3
3
import org.aspectj.tools.ajc.Main
4
4
5
5
apply plugin : ' com.android.library'
6
- apply plugin : ' com.jfrog.bintray'
7
6
apply plugin : ' com.github.dcendents.android-maven'
7
+ apply from : " $rootProject . projectDir /bintray.gradle"
8
8
9
9
dependencies {
10
10
compile ' org.aspectj:aspectjrt:1.8.6'
@@ -78,38 +78,6 @@ artifacts {
78
78
archives sourcesJar
79
79
}
80
80
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
-
113
81
install {
114
82
repositories. mavenInstaller {
115
83
// This generates POM.xml with proper parameters
Original file line number Diff line number Diff line change 17
17
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18
18
# org.gradle.parallel=true
19
19
20
- VERSION_NAME =0.3 .0
20
+ VERSION_NAME =0.4 .0
21
21
GROUP =se.tv4
22
22
23
23
POM_DESCRIPTION =Annotation-triggered method call logging for measuring performance in your app in debug mode
You can’t perform that action at this time.
0 commit comments