1
1
apply plugin : ' com.android.library'
2
+ apply plugin : ' signing'
3
+ apply plugin : ' com.bmuschko.nexus'
4
+
5
+ group = ' com.ramotion.circlemenu'
6
+ version = ' 0.1.0'
2
7
3
8
android {
4
9
compileSdkVersion 26
@@ -8,7 +13,7 @@ android {
8
13
minSdkVersion 16
9
14
targetSdkVersion 26
10
15
versionCode 1
11
- versionName " 1.0 "
16
+ versionName version
12
17
13
18
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
14
19
@@ -26,7 +31,44 @@ dependencies {
26
31
androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2' , {
27
32
exclude group : ' com.android.support' , module : ' support-annotations'
28
33
})
29
- compile ' com.android.support:appcompat-v7:26.+ '
30
- compile ' com.android.support:design:26.+ '
34
+ compile ' com.android.support:appcompat-v7:26.1.0 '
35
+ compile ' com.android.support:design:26.1.0 '
31
36
testCompile ' junit:junit:4.12'
32
37
}
38
+
39
+ modifyPom {
40
+ project {
41
+ name ' Circle Menu for Android'
42
+ description ' CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. http://ramotion.com'
43
+ url ' https://github.com/Ramotion/circle-menu-android'
44
+ inceptionYear ' 2017'
45
+
46
+ scm {
47
+ url ' https://github.com/Ramotion/circle-menu-android'
48
+ connection ' scm:git@github.com:Ramotion/circle-menu-android.git'
49
+ developerConnection ' scm:git@github.com:Ramotion/circle-menu-android.git'
50
+ }
51
+
52
+ licenses {
53
+ license {
54
+ name ' The MIT License (MIT)'
55
+ url ' https://opensource.org/licenses/mit-license.php'
56
+ distribution ' repo'
57
+ }
58
+ }
59
+
60
+ developers {
61
+ developer {
62
+ id ' dvg4000'
63
+ name ' Dmitry Grishechkin'
64
+ email ' dvgrishechkin@yandex.ru'
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+ nexus {
71
+ sign = true
72
+ repositoryUrl = ' https://oss.sonatype.org/service/local/staging/deploy/maven2/'
73
+ snapshotRepositoryUrl = ' https://oss.sonatype.org/content/repositories/snapshots/'
74
+ }
0 commit comments