[ 
https://issues.apache.org/jira/browse/GEODE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504245#comment-15504245
 ] 

ASF GitHub Bot commented on GEODE-1905:
---------------------------------------

GitHub user jaredjstewart opened a pull request:

    https://github.com/apache/incubator-geode/pull/242

    GEODE-1905: Address UnknownPropertyException when running tests with Gradle 
3.0+

    AvailablePortFinder was deprecated in [Gradle 
2.8](https://docs.gradle.org/2.8/release-notes#deprecated-classes-and-constants)
 and removed in Gradle 3.0.  
    
    I took a look into how the Gradle project itself dealt with this change, 
and they [use]( 
https://github.com/gradle/gradle/blob/2703311c33e8a295ba7ccb29a62ed8be761ef66f/subprojects/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/HonestProfilerCollector.groovy)
  the Apache MINA library's 
[org.apache.mina.util.AvailablePortFinder](https://mina.apache.org/mina-project/apidocs/src-html/org/apache/mina/util/AvailablePortFinder.html)
 class.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jaredjstewart/incubator-geode 
feature/GEODE-1905

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-geode/pull/242.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #242
    
----
commit a609f86ad662c6d501afd068c68e36a8b302eef3
Author: Jared Stewart <jstew...@pivotal.io>
Date:   2016-09-19T17:37:18Z

    GEODE-1905: Address UnknownPropertyException when running tests with Gradle 
3.0+

----


> Address UnknownPropertyException when running tests with Gradle 3.0+
> --------------------------------------------------------------------
>
>                 Key: GEODE-1905
>                 URL: https://issues.apache.org/jira/browse/GEODE-1905
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Jared Stewart
>            Assignee: Jared Stewart
>              Labels: build, management
>
> When executing 'gradle test' with a Gradle version >=3.0, the task fails with 
> the following exception:
> {code}
> FAILURE: Build completed with 15 failures.
> 1: Task failed with an exception.
> -----------
> * Where:
> Script 'geode/gradle/test.gradle' line: 22
> * What went wrong:
> Execution failed for task ':extensions/geode-modules:test'.
> > Could not get unknown property 'AvailablePortFinder' for root project 
> > 'geode' of type org.gradle.api.Project.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> ==============================================================================
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to