Slackbot
10/28/2022, 2:00 PMSergey Mokhov
10/28/2022, 2:03 PMplugins {
id 'java'
}
repositories {
mavenLocal()
maven {
credentials {
username nexusUsername
password nexusPassword
}
url = '<https://nexus>.***.com/content/groups/private'
}
}
dependencies {
testImplementation("com.github.tomakehurst:wiremock-jre8:_")
testImplementation("org.testng:testng:_")
}
And here is build.gradle from another project added the same way, that works.
plugins {
id 'java'
}
repositories {
mavenLocal()
maven {
credentials {
username nexusUsername
password nexusPassword
}
url = '<https://nexus>.***.com/content/groups/private'
}
}
dependencies {
implementation("com.sun.mail:javax.mail:_")
implementation("org.jsoup:jsoup:_")
testImplementation("junit:junit:_")
}Thomas Broyer
10/28/2022, 2:03 PMproject().projectDir and forgot the include()?Sergey Mokhov
10/28/2022, 2:04 PMSergey Mokhov
10/28/2022, 2:05 PMmelix
10/28/2022, 2:31 PMinclude and project lines 😉