Skip to content

Commit 7d98bae

Browse files
author
zhangqinghua.wanjian
committed
alpha1
1 parent 7b83de3 commit 7d98bae

File tree

3 files changed

+32
-30
lines changed

3 files changed

+32
-30
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ buildscript {
77
}
88
dependencies {
99
classpath 'com.android.tools.build:gradle:3.6.1'
10-
classpath 'com.novoda:bintray-release:0.8.0'
10+
// classpath 'com.novoda:bintray-release:0.8.0'
11+
// classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
12+
1113
// classpath "com.wanjian.plugin:tinypng:0.0.6"
1214
// classpath 'com.android.tools.build:gradle:1.2.3'
1315
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'

sak-nop/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ buildscript {
2929
}
3030
dependencies {
3131
classpath 'com.android.tools.build:gradle:3.0.0'
32-
classpath 'com.novoda:bintray-release:0.8.0'
32+
// classpath 'com.novoda:bintray-release:0.8.0'
3333
}
3434
}
3535

saklib/build.gradle

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'com.novoda.bintray-release'//添加
2+
//apply plugin: 'com.novoda.bintray-release'//添加
33
//apply plugin: "com.wanjian.tinypng"
44
android {
55
compileSdkVersion 29
@@ -30,7 +30,7 @@ buildscript {
3030
}
3131
dependencies {
3232
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'
3434
}
3535
}
3636

@@ -41,32 +41,32 @@ dependencies {
4141
compileOnly project(path: ':systemlib')
4242
}
4343

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+
//}
7070
//
7171
//tinyPng {
7272
// //http://www.bccto.me/ 临时邮箱申请key

0 commit comments

Comments
 (0)