Awesome Open Source
Awesome Open Source

Gradle

Gradle

Gradle

Ant task ivy Ant

Maven ivy xml

Gradle

****jar

Gradle wrapper projects

projects

projects

docsource

gitsubversion settings.gradle include

Idea IDE

Idea Idea module module projects

Idea

Gradle

    • eclipse eclipse
    • Idea: Idea
    • java
  • Web Task

    war project-web.1.1.0.1234.war.

    • snapshot war war SNAPSHOT
    • release: war gradle release project-web build.gradle

jar

jar dependencyDefinitions.gradle build.gradle

apply from: 'dependencyDefinitions.gradle'

 ext.versions = [
     spring: '3.2.5.RELEASE',
     security: '3.1.4.RELEASE',
     jackson: '1.9.13',
     logback: '1.0.13',
     slf4j: '1.7.5',
     httpclient: '4.3.1',
 ]


ext.libraries = [
	"servlet-api": "javax.servlet:servlet-api:2.5",
	"jsp-api": "javax.servlet:jsp-api:2.0",

	"ebean": "org.avaje.ebeanorm:avaje-ebeanorm:3.2.4",
	"persistence-api": "javax.persistence:persistence-api:1.0",

	"aspectjweaver": "org.aspectj:aspectjweaver:1.7.4",
	...
]

build.gradle libraries.'ebean' jar

gradle dependencies

jar

gradle dependencies > depend.log

ext.libraries jar

java

IDE gradle

java

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

group

group "group 'org.avaje.ebeanorm' module: 'avaje-ebeanorm'" group build.gradle group someok.common

debug --debug dependencies group

.gradle

.gradle gradle git .gitignore

.gradle/

Maven jar

libs jar

source libs build.gradle

ext.jarTree = fileTree(dir: 'libs', include: '**/*.jar')
ext.rootProjectLibs = new File(rootProject.rootDir, 'libs').getAbsolutePath()
ext.jarTree += fileTree(dir: rootProjectLibs, include: '**/*.jar')

compile jarTree

Gradle build

  • resources
  • resources-dev
  • resources-prod

gradle eclipse IDE eclipse gradle release war dev prod

war

  • gradle war war SNAPSHOT resources-dev
  • gradle release war resources-prod

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (705,392
Html (424,114
Gradle (2,969
Ide (1,278
Intellij (794
Asciidoc (224
Asciidoctor (189
Related Projects