I am looking at settings.gradle to make the gradle build work with repos/artifactory in AWS. This means addings credentials.
in settings.gradle:
pluginRepositories {
maven
{
url = 'https://xxxx/yyy/zzz'
credentials { username = 'xxxxx' password = '12121212' }
}
gradlePluginPortal()
}
Now gradle is failing:
Could not find method pluginRepositories() for arguments [settings_bhy1jsieezsqdcv1n1mwvzl6l$_run_closure1@68012021] on settings 'adc-ingestion' of type org.gradle.initialization.DefaultSettings.
Is it looking for a different method with default parameters of $it . Where do I set that?