1 /* see bottom of file for copyright information */
4 this file created with help from documentation at:
5 https://docs.gradle.org/current/userguide/tutorial_java_projects.html
9 declare this project as a basic java project
15 /* gradle should search maven to download external dependencies */
21 declare requirement for commons collections at compile time
22 declare requirement for junit for testing,
25 compile group: 'commons-collections',
26 name: 'commons-collections', version: '3.2'
27 testCompile group: 'junit', name: 'junit', version: '4.+'
30 /* version of java this project is written in */
31 sourceCompatibility = 1.5
32 /* version number for this project */
34 /* add some attributes to the JAR manifest */
37 attributes 'Implementation-Title': 'Gradle Quickstart',
38 'Implementation-Version': version
42 /* demonstrate changing a property on the test task */
44 systemProperties 'property': 'value'
47 /* tell gradle where to publish the jar file */
51 /* publish to a local directory */
61 /* create eclipse specific descriptor files, like project */
62 apply plugin: 'eclipse'
63 /* now you can execute gradle eclipse */
66 gradle-java-basic is free software: you can redistribute it and/or modify
67 it under the terms of the GNU Affero General Public License as published
68 by the Free Software Foundation, either version 3 of the License, or
69 (at your option) any later version.
71 gradle-java-basic is distributed in the hope that it will be useful,
72 but WITHOUT ANY WARRANTY; without even the implied warranty of
73 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74 GNU Affero General Public License for more details.
76 You should have received a copy of the GNU Affero General Public License
77 along with gradle-java-basic. If not, see <http://www.gnu.org/licenses/>.