pagseguro / pagseguro-sdk-java

Biblioteca de integração JAVA.
80 stars 60 forks source link

Erro no Gradle Build #45

Open andreconjo opened 6 years ago

andreconjo commented 6 years ago

Esse é o erro que aparece:

FAILURE: Build failed with an exception.

  • Where: Build file 'C:\Users\andre.conjo\Documents\Spring\PagSeguro\pagseguro-java-sdk\source\build.gradle' line: 33

  • What went wrong: A problem occurred evaluating root project 'pagseguro-api'.

    Could not get unknown property 'ossrhUsername' for object of type org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s

Segue as versões: GRADLE

`------------------------------------------------------------ Gradle 4.9

Build time: 2018-07-16 08:14:03 UTC Revision: efcf8c1cf533b03c70f394f270f46a174c738efc

Kotlin DSL: 0.18.4 Kotlin: 1.2.41 Groovy: 2.4.12 Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018 JVM: 1.8.0_162 (Oracle Corporation 25.162-b12) OS: Windows 10 10.0 amd64 ` JAVA

java version "1.8.0_162"

andreconjo commented 6 years ago

Segue a correção:

Primeiro passo concluido. Agora precisamos remover todos os casos de Test da API.

Ainda na pasta SOURCE (supracitado) e entre na pasta src

Remova a pasta test

Volte para a pasta SOURCE (supracitada)

e Pronto!

http://twitter.com/andreconjo http://facebook.com/andre.henriqu