gradle-master/subprojects/docs/src/snippets/multiproject/dependencies-java/groovy/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java
package org.gradle.sample.services;

import org.gradle.sample.api.Person;
import org.gradle.sample.shared.Helper;

public class PersonService {
    boolean checkPerson(Person person) {
        System.out.println(Helper.prettyPrint("Checking"));
        if (person.getFirstname().length() < 2) {
            return false;
        }
        return true;
    }
}
