/* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Java Library project to get you started. * For more details take a look at the Java Libraries chapter in the Gradle * user guide available at https://docs.gradle.org/4.5.1/userguide/java_library_plugin.html */ plugins { // Apply the java-library plugin to add support for Java Library id 'java' id 'eclipse' id 'application' } jar.enabled = true group = 'com.taover.codegenerate' mainClassName = 'com.taover.codegenerate.ui.RunEntityGenWindow' dependencies { compile("org.freemarker:freemarker:2.3.15") compile("commons-lang:commons-lang:2.6") compile("mysql:mysql-connector-java:5.1.47") } repositories { jcenter() maven{ url 'http://repository.sonatype.org/content/groups/public/' } maven{ url 'https://repository.jboss.org/nexus/content/groups/public/' } maven{ url 'http://47.93.122.69:9001/repository/maven-releases/' } } task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource } artifacts { archives sourcesJar }