The plugins should be applied to the project(s), not the settings. All of the content in your settings.gradle file belongs in build.gradle.
settings.gradle
build.gradle