Skip to content

Commit 6afaa3b

Browse files
Jeyvisonpivovarit
authored andcommitted
Gradle tutorial (eugenp#985)
1 parent 9e48d87 commit 6afaa3b

7 files changed

Lines changed: 289 additions & 0 deletions

File tree

‎gradle-tutorial/build.gradle‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
repositories{
5+
mavenCentral()
6+
}
7+
8+
dependencies{
9+
compile 'org.springframework:spring-context:4.3.5.RELEASE'
10+
}
11+
12+
task hello {
13+
println "this Baeldung's tutorial is ${awesomeness}"
14+
}
15+
16+
uploadArchives {
17+
repositories {
18+
mavenDeployer {
19+
repository(url: 'http://yourmavenrepo/repository') {
20+
authentication(userName: 'user', password: 'password');
21+
}
22+
23+
}
24+
}
25+
}

‎gradle-tutorial/gradle.properties‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
awesomeness=awesome
2+
group=com.baeldung.tutorial
3+
version=1.0.1
52.3 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Sat Dec 31 15:46:08 BRT 2016
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip

‎gradle-tutorial/gradlew‎

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

‎gradle-tutorial/gradlew.bat‎

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
public class Main{
2+
public static void main(String[] args){
3+
System.out.println("Baeldung Rocks");
4+
}
5+
}

0 commit comments

Comments
 (0)