Home » Gradle

Tag Archives: Gradle

Migrating Spock 1.3 tests to Spock 2.0

Get know what you can expect from Spock 2.0 M1 (based on JUnit 5), how to migrate to it in Gradle and Maven, and why it is important to report spotted problems :). Important note. I definitely do not encourage you to migrate your real-life project to Spock 2.0 M1 for good! This is the first (pre-)release of 2.x with ...

Read More »

Publishing your Android Library to Bintray (Gradle)

In the last article, I mentioned how I got around to creating an Open-Source android library. In this post, we’ll take a look at how to publish your android library to Bintray. Once your library is published on bintray, it’ll be available to be used via gradle. There are essentially 5 steps to publish your library on bintray: Create an ...

Read More »

Gradle Configuration

In this post, we feature a comprehensive article about Gradle Configuration. 1. Technology Gradle is an open-source build tool for automatic task management. It builds upon the concept of Apache Ant, Apache Maven. Gradle is developed using the Groovy language. Gradle is developed using Groovy-based Domain Specific Language (DSL). The Gradle build contains the tasks in Groovy language, as Apache ...

Read More »

Get Groovy with Gradle

Friends don’t let friends write user auth. Tired of managing your own users? Try Okta’s API and Java SDKs today. Authenticate, manage, and secure users in any application within minutes. In the Java world, there are two main build systems: Gradle and Maven. A build system chiefly manages potentially complex webs of dependencies and compiles the project. It also packages ...

Read More »

JUnit 5 and Selenium – Setup the project with Gradle, JUnit 5 and Jupiter Selenium

Selenium is a set of tools and libraries supporting browser automation and it is mainly used for web applications testing. One of the Selenium’s components is a Selenium WebDriver that provides client library, the JSON wire protocol (protocol to communicate with the browser drivers) and browser drivers. One of the main advantages of Selenium WebDriver is that it supported by ...

Read More »

Building Java 6-8 Libraries for JPMS in Gradle

Find out how to use Gradle to build Java 6-8 libraries that support JPMS (Java Platform Module System) by providing Java 9 module-info.class. Introduction If you need introduction to JPMS itself, check out this nice overview. This post is primarily targeted at Java library maintainers. Any such maintainer has to make a choice of which JDK to target: Targeting the ...

Read More »

Reliable releasing to Maven Central from Travis using Gradle – 2019 edition

Make your (automatic) releasing to Maven Central from Travis (and not only) more reliable thanks to the explicit staging repository creation feature set implemented at the edge of 2018 and 2019. Background If you are only interested in getting information how to make your artifacts releasing more reliable from Travis, move forward to the another section. Automatic artifacts releasing (using ...

Read More »

Building monorepo projects with Gradle

According to Wikipedia, a monorepo is as software development strategy where many projects are stored in the same repository. This strategy allows for quick detection of potential problems and breakages caused by changes in dependencies, and it has been adopted by many organizations that work with large scale codebases, such as Google, Facebook, and Twitter. You too can apply this ...

Read More »