在I/Choreographer: Skipped 104 frames! The application may be doing too much work on its main thread.
中有多个buildscript块是否正确?
如果是,那么这些buildcript块如何相互交互?例如,以下是build.gradle
,
build.gradle
对于这段代码,我的问题是:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.bmuschko:gradle-tomcat-plugin:2.1'
}
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-tomcat-plugin:2.2.5'
}
}
apply plugin: 'com.bmuschko.tomcat'
是什么? mavenCentral(),jcenter()或两者兼而有之?