I would suggest sticking to Gradle 6.8.3 - the plugin is built and tested
with the 6.x line so it might or might not work with 7.0. Also, because the
plugin is not resolved from the portal but provided on the build script
classpath you will need to use the "legacy" plugin application syntax:

apply plugin: "geb-saucelabs"

On Mon, Apr 12, 2021 at 7:22 AM [email protected] <[email protected]>
wrote:

> I get the same with gradle 6.8.3:
>
> *Plugin [id: 'geb-saucelabs'] was not found in any of the following
> sources:*
>
> *- Gradle Core Plugins (not a core plugin, please see
> https://docs.gradle.org/6.8.3/userguide/standard_plugins.html
> <https://docs.gradle.org/6.8.3/userguide/standard_plugins.html> for
> available core plugins)*
> *- Plugin Repositories (plugin dependency must include a version number
> for this source)*
> *Open File*
>
> On Monday, April 12, 2021 at 8:18:58 AM UTC+2 [email protected] wrote:
>
>> I installed gradle 7.0 and added the code:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *buildscript { repositories { mavenCentral() } dependencies { classpath
>> 'org.gebish:geb-gradle:4.0' }}*
>>
>>
>>
>>
>>
>>
>>
>>
>> *plugins { id "idea" id "groovy" id "com.github.erdi.webdriver-binaries"
>> version "2.2" id "com.github.erdi.idea-base" version "2.2" id
>> "geb-saucelabs"}*
>>
>> *repositories { jcenter()*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *}ext { drivers = ["remoteChromeK8s", "sauceLabsEdgeWin10",
>> "remoteChromeCapeK8s", "remoteChromeDockerStandalone"] ext { groovyVersion
>> = ' 2.5.13' gebVersion = '4.0' seleniumVersion = '4.0.0-beta-2'
>> chromeDriverVersion = ' 89.0.4389.23' firefoxDriverVersion = '0.29.0'
>> ieDriverVersion = ' 3.150.1' javaxMailVersion = '1.4.7' }}*
>>
>>
>> but still get this error:
>>
>> *Plugin [id: 'geb-saucelabs'] was not found in any of the following
>> sources:*
>>
>> *- Gradle Core Plugins (not a core plugin, please see
>> https://docs.gradle.org/7.0/userguide/standard_plugins.html
>> <https://docs.gradle.org/7.0/userguide/standard_plugins.html> for available
>> core plugins)*
>> *- Plugin Repositories (plugin dependency must include a version number
>> for this source)*
>> *Open File*
>>
>>
>> On Wednesday, April 7, 2021 at 9:09:30 PM UTC+2 [email protected]
>> wrote:
>>
>>> If you are still using Gradle 3.x as you have indicated on the issue you
>>> created in the tracker then you will need to upgrade to the Gradle 6.x line
>>> if you want to upgrade to Geb 4.0. I'm not sure what would be the minimum
>>> version supported so best to just up it to the latest which is 6.8.3 and
>>> which will work for sure. Secondly, you will need to bring back the
>>> dependency on org.gebish:geb-gradle to you build script's classpath because
>>> these plugins are not published to Gradle plugin portal but they are
>>> published to Maven Central as they predate the Gradle plugin portal.
>>>
>>> buildscript {
>>>     repositories {
>>>         mavenCentral()
>>>     }
>>>     dependencies {
>>>         classpath 'org.gebish:geb-gradle:4.0'
>>>     }
>>> }
>>>
>>> On Wed, Apr 7, 2021 at 7:58 PM [email protected] <[email protected]>
>>> wrote:
>>>
>>>> hi,
>>>>
>>>> I cannot compile after upgrade using following code:
>>>>
>>>> *plugins { *
>>>> * id "idea" *
>>>> * id "groovy" *
>>>> * id "com.github.erdi.webdriver-binaries" version "2.2" *
>>>> * id "com.github.erdi.idea-base" version "2.2" *
>>>> * id "geb-saucelabs" *
>>>> *}*
>>>> * ext { *
>>>> * drivers = ["remoteChromeK8s", *
>>>> * "sauceLabsEdgeWin10", *
>>>> * "remoteChromeCapeK8s", *
>>>> * "remoteChromeDockerStandalone"] *
>>>> * ext { *
>>>> * groovyVersion = ' 2.5.13' *
>>>> * gebVersion = '4.0' *
>>>> * seleniumVersion = '4.0.0-beta-2' *
>>>> * chromeDriverVersion = ' 89.0.4389.23' *
>>>> * firefoxDriverVersion = '0.29.0' *
>>>> * ieDriverVersion = ' 3.150.1' *
>>>> * javaxMailVersion = '1.4.7' *
>>>> * } *
>>>> *} *
>>>> * repositories { *
>>>> *   jcenter() *
>>>> *}*
>>>>
>>>> Getting this error:
>>>>
>>>> *Plugin [id: 'geb-saucelabs'] was not found in any of the following
>>>> sources:*
>>>>
>>>> *- Gradle Core Plugins (not a core plugin, please see
>>>> https://docs.gradle.org/4.8.1/userguide/standard_plugins.html
>>>> <https://docs.gradle.org/4.8.1/userguide/standard_plugins.html> for
>>>> available core plugins)*
>>>> *- Plugin Repositories (plugin dependency must include a version number
>>>> for this source)*
>>>>
>>>> Any ideas what could be wrong?
>>>> Thank you!
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Geb User Mailing List" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/geb-user/eddb40c1-6c8b-4d1c-ab76-87dc1c72d0ebn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/geb-user/eddb40c1-6c8b-4d1c-ab76-87dc1c72d0ebn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "Geb User Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geb-user/4b6eec30-6849-44ac-91d6-0af9445cfdf8n%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/4b6eec30-6849-44ac-91d6-0af9445cfdf8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/CA%2B52dQTJ8wJ%3DDfawt7Yg_oEhXns4uGrK2_UqUb53MXFNzNqSiA%40mail.gmail.com.

Reply via email to