Cleanup of gradle

This commit is contained in:
Speiger 2021-01-11 13:48:39 +01:00
parent 48853140d0
commit c48e6a545b
2 changed files with 15 additions and 37 deletions

View File

@ -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
}

View File

@ -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'