diff --git a/build.gradle b/build.gradle index 157619d..dcd0655 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,7 @@ buildscript { // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files + classpath 'com.novoda:bintray-release:0.8.0' } } diff --git a/moremap/build.gradle b/moremap/build.gradle index 670ca7f..31499ce 100644 --- a/moremap/build.gradle +++ b/moremap/build.gradle @@ -1,4 +1,20 @@ +/* + * Copyright 2017 wshunli + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ apply plugin: 'com.android.library' +apply plugin: 'com.novoda.bintray-release' android { compileSdkVersion 26 @@ -41,3 +57,14 @@ dependencies { implementation 'com.esri.arcgis.android:arcgis-android:10.2.9' } + +// jcenter configuration for novoda's bintray-release +// $ ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false +publish { + userOrg = 'wshunli' + groupId = 'com.wshunli.map' + artifactId = 'arcgis-android-moremap' + publishVersion = '1.0.0' + desc = 'Library for displaying and caching more layers based on ArcGIS for Android' + website = 'http://www.wshunli.com/' +}