/* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Java project to get you started. * For more details take a look at the Java Quickstart chapter in the Gradle * user guide available at https://docs.gradle.org/4.7/userguide/tutorial_java_projects.html */ plugins { // Apply the java plugin to add support for Java id 'java' // Apply the application plugin to add support for building an application id 'application' // Para hacer un "fat jar" ejecutable usar el plugin "Shadow" (descomentar) // Ver => https://imperceptiblethoughts.com/shadow/getting-started/ //id 'com.github.johnrengelman.shadow' version '4.0.3' // Aplicar plugin de Eclipse para el Asistente de Contenido de dependencias // Con nuevas dependencias ejecutar task "gradle eclipse" y refrescar el proyecto // Ver => https://stackoverflow.com/a/23212148/2443951 id 'eclipse' } // Define the main class for the application mainClassName = 'App' dependencies { // This dependency is found on compile classpath of this component and consumers. compile 'com.google.guava:guava:23.0' // Use JUnit test framework testCompile 'junit:junit:4.12' // Usar libreria desde repositorio de github utilizando jitpack // Ver => https://jitpack.io/ implementation 'com.github.esotericsoftware:jsonbeans:master' } // In this section you declare where to find the dependencies of your project repositories { // Use jcenter for resolving your dependencies. // You can declare any Maven/Ivy/file repository here. jcenter() // Dependencia de jitpack para poder importar codigo desde github maven { url 'https://jitpack.io' } }