1
1
apply plugin : ' com.android.library'
2
- apply plugin : ' com.novoda.bintray-release' // 添加
2
+ // apply plugin: 'com.novoda.bintray-release'//添加
3
3
// apply plugin: "com.wanjian.tinypng"
4
4
android {
5
5
compileSdkVersion 29
@@ -30,7 +30,7 @@ buildscript {
30
30
}
31
31
dependencies {
32
32
classpath ' com.android.tools.build:gradle:3.6.1'
33
- classpath ' com.novoda:bintray-release:0.8.0'
33
+ // classpath 'com.novoda:bintray-release:0.8.0'
34
34
}
35
35
}
36
36
@@ -41,32 +41,32 @@ dependencies {
41
41
compileOnly project(path : ' :systemlib' )
42
42
}
43
43
44
- def getKey () {
45
-
46
- Properties properties = new Properties ()
47
- // properties.load(new FileInputStream("../local.properties"))
48
-
49
- File propertyFile = new File (rootDir. getAbsolutePath() + " /local.properties" )
50
- if (propertyFile. exists()) {
51
- properties. load(propertyFile. newDataInputStream())
52
- return properties. getProperty(" jcenter_key" )
53
- }
54
-
55
-
56
- }
57
- // clean -- build --- generatePomFileForReleasePublication---publishReleasePublicationToMabenLocal---bintrayUpload---publishing
58
- publish {
59
- groupId = ' com.wanjian'
60
- artifactId = ' sak'
61
- publishVersion = ' 2.0.2'
62
- desc = ' ui debug tool 4 android'
63
- website = ' https://github.com/android-notes/SwissArmyKnife'
64
-
65
- bintrayUser = ' wanjian' // 账户名
66
- bintrayKey = getKey() // 就是API key
67
- dryRun = false
68
-
69
- }
44
+ // def getKey() {
45
+ //
46
+ // Properties properties = new Properties()
47
+ // // properties.load(new FileInputStream("../local.properties"))
48
+ //
49
+ // File propertyFile = new File(rootDir.getAbsolutePath() + "/local.properties")
50
+ // if (propertyFile.exists()) {
51
+ // properties.load(propertyFile.newDataInputStream())
52
+ // return properties.getProperty("jcenter_key")
53
+ // }
54
+ //
55
+ //
56
+ // }
57
+ // // clean -- build --- generatePomFileForReleasePublication---publishReleasePublicationToMabenLocal---bintrayUpload---publishing
58
+ // publish {
59
+ // groupId = 'com.wanjian'
60
+ // artifactId = 'sak'
61
+ // publishVersion = '2.0.2'
62
+ // desc = 'ui debug tool 4 android'
63
+ // website = 'https://github.com/android-notes/SwissArmyKnife'
64
+ //
65
+ // bintrayUser = 'wanjian' // 账户名
66
+ // bintrayKey = getKey() // 就是API key
67
+ // dryRun = false
68
+ //
69
+ // }
70
70
//
71
71
// tinyPng {
72
72
// //http://www.bccto.me/ 临时邮箱申请key
0 commit comments