最新回答 / 慕粉4194933
Gradle looks for gradle.properties files is these places:in project build dir (that is where your build script is)in sub-project dirin gradle user home (defined by the GRADLE_USER_HOME environment variable, which if not set defaults to USER_HOME/.gradle)P...
2017-09-12
这节后面说的有问题,只有equals才会抛出空指针,如果是==,不会报错。可以了解一下==的几个特性,其中有一条就是null和任何对象都不等,后面的例子是错的,应该用v2.equals(v1)来解释==和equals
2017-09-03