Skip to content

Commit 1b9b893

Browse files
committed
Setup del proyectocon gradle
Gradle es una herramienta que nos permite configurar y ejecutar tareas comunes mientras desarrollamos
1 parent 05b3675 commit 1b9b893

8 files changed

Lines changed: 288 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
allprojects {
2+
apply plugin: 'java'
3+
4+
sourceCompatibility = 1.8
5+
}

gradle.properties

Whitespace-only changes.

gradle/wrapper/gradle-wrapper.jar

53.9 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Thu Dec 12 15:29:14 CST 2019
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
3+
distributionBase=GRADLE_USER_HOME
4+
distributionPath=wrapper/dists
5+
zipStorePath=wrapper/dists
6+
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/build.gradle

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
group 'com.platzi'
2+
version '0.0.1'
3+
4+
def createTask(taskName, classMain) {
5+
tasks.create(taskName, JavaExec) {
6+
group = "Execution"
7+
description = "Run the demo class"
8+
classpath = sourceSets.main.runtimeClasspath
9+
main = "com.platzi.functional.$classMain"
10+
}
11+
}
12+
13+
createTask("impuras", "Main")
14+
15+
repositories {
16+
mavenCentral()
17+
}
18+
19+
dependencies {
20+
}

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ":modules"

0 commit comments

Comments
 (0)