diff --git a/TugasBesar2_2017/build.gradle b/TugasBesar2_2017/build.gradle index 454db166b2438ae8bbcfb71e231f71e5eee327f9..10ad771246fd8b31c08eeb6e7cd3bf6598844da8 100644 --- a/TugasBesar2_2017/build.gradle +++ b/TugasBesar2_2017/build.gradle @@ -1,31 +1,25 @@ -/* - * This build file was generated by the Gradle 'init' task. - * - * This generated file contains a commented-out sample Java project to get you started. - * For more details take a look at the Java Quickstart chapter in the Gradle - * user guide available at https://docs.gradle.org/4.3/userguide/tutorial_java_projects.html - */ +plugins { + id 'org.akhikhl.gretty' version '2.0.0' +} -/* -// Apply the java plugin to add support for Java -apply plugin: 'java' +dependencies { + // https://mvnrepository.com/artifact/mysql/mysql-connector-java + gretty 'mysql:mysql-connector-java:8.0.8-dmr' -// In this section you declare where to find the dependencies of your project -repositories { - // Use 'jcenter' for resolving your dependencies. - // You can declare any Maven/Ivy/file repository here. - jcenter() + // https://mvnrepository.com/artifact/com.sun.xml.ws/jaxws-ri + gretty 'com.sun.xml.ws:jaxws-ri:2.3.0' } -// In this section you declare the dependencies for your production and test code -dependencies { - // The production code uses the SLF4J logging API at compile time - compile 'org.slf4j:slf4j-api:1.7.25' +allprojects { + repositories { + jcenter() + + maven { + url 'http://download.eclipse.org/rt/eclipselink/maven.repo' + } + } +} - // Declare the dependency for your favourite test framework you want to use in your tests. - // TestNG is also supported by the Gradle Test task. Just change the - // testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add - // 'test.useTestNG()' to your build script. - testCompile 'junit:junit:4.12' +task clean(type: Delete) { + delete rootProject.buildDir } -*/ diff --git a/TugasBesar2_2017/settings.gradle b/TugasBesar2_2017/settings.gradle index e906e5eb67cf66b943e40a583d385de97e5f54d0..1f6396d4b5bae3217c9c1a8e233995cd5626481a 100644 --- a/TugasBesar2_2017/settings.gradle +++ b/TugasBesar2_2017/settings.gradle @@ -1,18 +1,4 @@ -/* - * 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.3/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 = 'TugasBesar2_2017' + +include ':SharedLibrary' +include ':WebApp', ':IdentityService', ':WebService'