提交XLog到JCenter
为了XLog的使用方便,我决定把XLog提交到jcenter
参考了这篇文章
将自己的开源项目提交到JCENTER
这篇文章是可行的,需要修改的地方是把项目的build.gradle 修改为以下内容
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.2'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
需要把build:gradle:1.1.0 改为 1.1.2 ,因为1.1.0有bug,会出现错误