Skip to content

Commit

Permalink
prepare project to upload to maven repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavryschuk Yaroslav committed May 10, 2017
1 parent a8f75e4 commit d732a95
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
// classpath 'com.novoda:bintray-release:0.4.0'
classpath 'com.novoda:bintray-release:0.4.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -22,11 +22,11 @@ task clean(type: Delete) {
delete rootProject.buildDir
}

//ext {
// userOrg = 'soulyaroslav'
// groupId = 'com.steelkiwi'
// uploadName = 'indicator-view'
// description = 'View to indicate current page of the view pager'
// publishVersion = '1.0.0'
// licences = ['Apache-2.0']
//}
ext {
userOrg = 'soulyaroslav'
groupId = 'com.steelkiwi'
uploadName = 'indicator-view'
description = 'Indicator to highlight current viewpager position'
publishVersion = '1.0.0'
licences = ['Apache-2.0']
}
20 changes: 10 additions & 10 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply plugin: 'com.android.library'
//apply plugin: 'com.novoda.bintray-release'
apply plugin: 'com.novoda.bintray-release'

android {
compileSdkVersion 25
Expand Down Expand Up @@ -28,14 +28,14 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.1'
}

// publish {
// artifactId = 'indicator-view'
// userOrg = rootProject.userOrg
// groupId = rootProject.groupId
// uploadName = rootProject.uploadName
// publishVersion = rootProject.publishVersion
// description = rootProject.description
// licences = rootProject.licences
// }
publish {
artifactId = 'indicator-view'
userOrg = rootProject.userOrg
groupId = rootProject.groupId
uploadName = rootProject.uploadName
publishVersion = rootProject.publishVersion
description = rootProject.description
licences = rootProject.licences
}

0 comments on commit d732a95

Please sign in to comment.