????????????--??????汾????
???????????? ???????[ 2016/4/21 11:31:43 ] ?????????????????? ???ù??? ???????
????????汾:
????def cfg = rootProject.ext.configuration
????cfg.compileVersion
??????汾:
????def libs = rootProject.ext.libraries
????${libs.retrofit}
????2. ????????
????buildConfigField??????в????? ??????gradle.properties????.
????android {
????defaultConfig {
????buildConfigField "String"?? "MARVEL_PUBLIC_KEY"?? ""${marvel_public_key}""
????buildConfigField "String"?? "MARVEL_PRIVATE_KEY"?? ""${marvel_private_key}""
????}
????}
???????ò??????????????λ??????????.
????marvel_public_key = 74129ef99c9fd5f7692608f17abb88f9
????marvel_private_key = 281eb4f077e191f7863a11620fa1865f2940ebeb
????δ???·???? ???????????gradle.properties??.
??????????????????ò????? ??????????build.gradle?? ?????gradle.properties.
????????????BuildConfig.xxx???????.
????MarvelSigningIterceptor signingIterceptor = new MarvelSigningIterceptor(
????BuildConfig.MARVEL_PUBLIC_KEY?? BuildConfig.MARVEL_PRIVATE_KEY);
????3. ?汾????
?????汾???????????????build.gradle?У? ????????????? ??????????汾?? ???????汾. ????ò??????ó??????. ????????rootProject.ext.xxx?????????.
ext {
configuration = [
package : "me.chunyu.spike.springrainnews"??
buildToolsVersion: "23.0.1"??
compileVersion : 23??
minSdk : 14??
targetSdk : 23??
version_code : 1??
version_name : "0.0.1"??
]
libraries = [
supportVersion : "23.1.1"??
retrofit : "2.0.0-beta2"??
rxandroid : "1.1.0"??
dagger : "2.0"??
javax_annotation : "10.0-b28"??
butterknife : "7.0.1"??
glide : "3.6.1"??
recycler_animators: "2.1.0"??
circleimageview : "2.0.0"
]
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha5'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'me.tatarka:gradle-retrolambda:3.2.4'
classpath 'com.android.databinding:dataBinder:1.0-rc4'
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
????????
????Retrolambda???????÷??
plugins {
id "me.tatarka.retrolambda" version "3.2.5"
}
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
???????????????????Android????? ??????????汾??? ?????????.
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??????????????????ù????????ù?????????????????????????????з????????????????ù????е?SVN???ù????????????汾????????cmmi???ù??????ù?????????????ù???????????(2)???ù???????????(1)SCM??????ù???????????????ù??????????????????????е????ù??????????????ù??????ù????????????汾?????????????????ù???Nginx???ù??? - ???????DCMP??????etcd?????ù?????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????