Cleanup of gradle
This commit is contained in:
parent
48853140d0
commit
c48e6a545b
35
build.gradle
35
build.gradle
|
@ -1,29 +1,24 @@
|
||||||
/*
|
|
||||||
* This build 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.1/userguide/java_library_plugin.html
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Apply the java-library plugin to add support for Java Library
|
|
||||||
apply plugin: 'java-library'
|
apply plugin: 'java-library'
|
||||||
|
|
||||||
// In this section you declare where to find the dependencies of your project
|
|
||||||
repositories {
|
repositories {
|
||||||
// Use jcenter for resolving your dependencies.
|
|
||||||
// You can declare any Maven/Ivy/file repository here.
|
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
archivesBaseName = 'Simple Code Generator'
|
||||||
// This dependency is exported to consumers, that is to say found on their compile classpath.
|
version = '1.0'
|
||||||
api 'org.apache.commons:commons-math3:3.6.1'
|
|
||||||
|
|
||||||
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
|
tasks.withType(JavaCompile) {
|
||||||
implementation 'com.google.guava:guava:22.0'
|
options.encoding = 'UTF-8'
|
||||||
|
|
||||||
// Use JUnit test framework
|
|
||||||
testImplementation 'junit:junit:4.12'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
}
|
||||||
|
|
||||||
|
task srcJar(type: Jar) {
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
classifier = 'sources'
|
||||||
|
}
|
||||||
|
|
||||||
|
artifacts {
|
||||||
|
archives srcJar
|
||||||
|
}
|
|
@ -1,18 +1 @@
|
||||||
/*
|
|
||||||
* This settings file was generated by the Gradle 'init' task.
|
|
||||||
*
|
|
||||||
* The settings file is used to specify which projects to include in your build.
|
|
||||||
* In a single project build this file can be empty or even removed.
|
|
||||||
*
|
|
||||||
* Detailed information about configuring a multi-project build in Gradle can be found
|
|
||||||
* in the user guide at https://docs.gradle.org/4.1/userguide/multi_project_builds.html
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
// To declare projects as part of a multi-project build use the 'include' method
|
|
||||||
include 'shared'
|
|
||||||
include 'api'
|
|
||||||
include 'services:webservice'
|
|
||||||
*/
|
|
||||||
|
|
||||||
rootProject.name = 'SimpleCodeGenerator'
|
rootProject.name = 'SimpleCodeGenerator'
|
||||||
|
|
Loading…
Reference in New Issue