package net.squanchy.contest;

import android.app.Activity;
import android.view.ViewGroup;

import net.squanchy.navigation.Navigator;

class ContestTester {

    ContestTester(Activity activity, Navigator navigator) {
        // No-op (only does stuff in debug)
    }

    void appendDebugControlsIfRequestedTo(ViewGroup viewGroup) {
        // No-op (only does stuff in debug)
    }
}

package net.squanchy.contest;

import android.app.Activity;
import android.view.ViewGroup;

@SuppressWarnings("unused")    // This is a no-op version for a debug facility
class ContestTester {

    ContestTester(Activity activity) {
        // No-op (only does stuff in debug)
    }

    boolean testingEnabled() {
        return false;
    }

    void appendDebugControls(ViewGroup container, ContestService contestService) {
        // No-op (only does stuff in debug)
    }
}

Fix ContestTester on the release sourceset