// 依赖信息 def groupIdDefined = "com.licheedev" def artifactIdDefined = "android-serialport" // 如果是测试版,版本号后面加上 -SNAPSHOT def versionDefined = rootProject.ext.versionName // 其他信息 def gitUrl = "https://github.com/licheedev/Android-SerialPort-API" // 配置是否上传 def toUpload = true if (toUpload) { apply plugin: 'signing' apply plugin: 'maven-publish' }