Remove examples

This commit is contained in:
Guilherme Werner 2025-05-26 16:08:40 -03:00
parent 0db8d03dcc
commit ca1aaad1c1
3 changed files with 3 additions and 48 deletions

View file

@ -1,21 +0,0 @@
plugins {
id 'application'
}
version = "0.0.4"
archivesBaseName = "TribufuExample"
repositories {
mavenCentral()
maven { url = "https://mvn.tribufu.com/releases" }
}
dependencies {
implementation project(':lib')
implementation 'com.google.guava:guava:30.0-jre'
testImplementation 'junit:junit:4.13.1'
}
application {
mainClass = 'com.tribufu.example.ExampleApp'
}

View file

@ -1,23 +0,0 @@
// Copyright (c) Tribufu. All Rights Reserved.
package com.tribufu.example;
import com.tribufu.TribufuApi;
public class ExampleApp {
public static void main(String[] args) {
var api = new TribufuApi();
var games = api.getGames();
System.out.println("\n---- GAMES ----");
for (var game : games) {
System.out.println(game.name);
}
var servers = api.getServers();
System.out.println("\n---- SERVERS ----");
for (var server : servers) {
System.out.println(server.name);
}
}
}

View file

@ -1,7 +1,6 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0'
id "org.gradle.toolchains.foojay-resolver-convention" version "0.4.0"
}
rootProject.name = 'TribufuJvm'
include('lib')
include('examples')
rootProject.name = "TribufuJvm"
include("lib")