Запускайте lint при создании проектов студии Android ⇐ Android
Запускайте lint при создании проектов студии Android
I would like to be able to run the lint task when I'm building projects with the android studio to ensure the lint rules are being followed.
I have tried using task dependencies but with no luck. My TeamCity build server uses the build task which runs the lint task so that works great. However, the android studio appears to use generateDebugSources and compileDebugJava tasks interchangeably when I have selected the debug build variant.
Here is what I have tried in my build.gradle:
assemble.dependsOn lint
Источник: https://stackoverflow.com/questions/228 ... o-projects
I would like to be able to run the lint task when I'm building projects with the android studio to ensure the lint rules are being followed.
I have tried using task dependencies but with no luck. My TeamCity build server uses the build task which runs the lint task so that works great. However, the android studio appears to use generateDebugSources and compileDebugJava tasks interchangeably when I have selected the debug build variant.
Here is what I have tried in my build.gradle:
assemble.dependsOn lint
Источник: https://stackoverflow.com/questions/228 ... o-projects
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Python: запускайте рабочие потоки и запускайте свои собственные мультипроцессы.
Anonymous » » в форуме Python - 0 Ответы
- 53 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Python: запускайте многопроцессорные пулы и запускайте собственные многопроцессорные пулы.
Anonymous » » в форуме Python - 0 Ответы
- 47 Просмотры
-
Последнее сообщение Anonymous
-