File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,20 +21,25 @@ android {
2121 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2222 }
2323 }
24+ sourceSets {
25+ main. java. srcDirs + = ' src/main/kotlin'
26+ androidTest. java. srcDirs + = ' src/androidTest/kotlin'
27+ androidTest. resources. srcDirs + = ' src/androidTest/res'
28+ }
2429}
2530
2631dependencies {
2732 compileOnly " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
2833}
2934
30- publish {
31- userOrg = ' getactivity' // 填写bintray用户名,注意大小写
32- groupId = ' com.hjq' // 定义的maven group id最终引用形式
33- artifactId = ' toast' // maven的artifact id
34- version = ' 8.0' // maven 上发布版本号
35- description = ' This is a very functional Toast' // 描述,自己定义
36- website = " https://github.com/getActivity/ToastUtils" // 项目在github中的地址
37- }
35+ // publish {
36+ // userOrg = 'getactivity'//填写bintray用户名,注意大小写
37+ // groupId = 'com.hjq'//定义的maven group id最终引用形式
38+ // artifactId = 'toast'//maven的artifact id
39+ // version = '8.0'//maven 上发布版本号
40+ // description = 'This is a very functional Toast'//描述,自己定义
41+ // website = "https://github.com/getActivity/ToastUtils"//项目在github中的地址
42+ // }
3843
3944tasks. withType(Javadoc ) {// 防止编码问题
4045 options. addStringOption(' Xdoclint:none' , ' -quiet' )
@@ -58,6 +63,6 @@ task sourcesJar(type: Jar) {
5863// }
5964
6065artifacts {
61- archives javadocJar
66+ // archives javadocJar
6267 archives sourcesJar
6368}
You can’t perform that action at this time.
0 commit comments