Skip to content

Instantly share code, notes, and snippets.

This post is hidden. You deleted this post 27 days ago.
With this snippet you can use the values from ~/.gradle/gradle.properties.
repositories {
maven {
// Values from file ~/.gradle/gradle.properties
val nexusUser: String by project
val nexusPassword: String by project
credentials {
@tobit800
tobit800 / pecs.java
Last active July 20, 2017 13:20 — forked from nicolas-zozol/pecs.java
Failing PECS conversion
package io.robusta.java.pecs;
import java.util.ArrayList;
import java.util.List;
public class ContravariantHeritage {
public static void main(String[] args) {
new ContravariantHeritage().launch();