build.gradle 1.01 KB
/*
 * 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.util'
mainClassName = 'com.taover.util.UtilString'

dependencies {
	compile(
		"org.apache.poi:poi:3.16",
		"org.apache.poi:poi-excelant:3.16",
		"log4j:log4j:1.2.17",
		"commons-logging:commons-logging:1.2",
		"ch.ethz.ganymed:ganymed-ssh2:build210",
		"org.apache.velocity:velocity:1.6.4",
		"com.squareup.okhttp3:okhttp:3.14.1",
		"com.belerweb:pinyin4j:2.5.1"
	)
}

repositories {
    jcenter()
}

task sourcesJar(type: Jar, dependsOn: classes) {
    classifier = 'sources'
    from sourceSets.main.allSource
}

artifacts {
    archives sourcesJar
}