Initialize sub-projects
This commit is contained in:
parent
580f2a4c7e
commit
019b1f2211
44
build.gradle
44
build.gradle
|
@ -2,6 +2,7 @@ plugins {
|
|||
id 'org.springframework.boot' version '2.5.4'
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
id 'idea'
|
||||
}
|
||||
|
||||
group = 'com.myoa.engineering.music'
|
||||
|
@ -18,17 +19,38 @@ repositories {
|
|||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
runtimeOnly 'mysql:mysql-connector-java'
|
||||
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
allprojects {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url "https://plugins.gradle.org/m2/"
|
||||
}
|
||||
}
|
||||
|
||||
/* task initSourceFolders {
|
||||
sourceSets*.java.srcDirs*.each {
|
||||
if( !it.exists() ) {
|
||||
it.mkdirs()
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets*.resources.srcDirs*.each {
|
||||
if( !it.exists() ) {
|
||||
it.mkdirs()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
jar {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
bootJar {
|
||||
enabled = false
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.myoa.engineering.music.soundhoundfound.processor;
|
||||
|
||||
/**
|
||||
* ProcessorApplication
|
||||
* @author Shin Woo-jin (woo-jin.shin@linecorp.com)
|
||||
* @since 2021-08-20
|
||||
*
|
||||
*/
|
||||
public class ProcessorApplication {
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
dependencies {
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
runtimeOnly 'mysql:mysql-connector-java'
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.telegram:telegrambots:5.3.0'
|
||||
|
||||
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
package com.myoa.engineering.music.soundhoundfound.receiver;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* ReceiverApplication
|
||||
* @author Shin Woo-jin (woo-jin.shin@linecorp.com)
|
||||
* @since 2021-08-20
|
||||
*
|
||||
*/
|
||||
@SpringBootApplication
|
||||
public class ReceiverApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ReceiverApplication.class, args);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package com.myoa.engineering.music.soundhoundfound.sender;
|
||||
|
||||
/**
|
||||
* SenderApplication
|
||||
* @author Shin Woo-jin (woo-jin.shin@linecorp.com)
|
||||
* @since 2021-08-20
|
||||
*
|
||||
*/
|
||||
public class SenderApplication {
|
||||
}
|
|
@ -1 +1,14 @@
|
|||
rootProject.name = 'SoundHoundFound'
|
||||
|
||||
include 'receiver'
|
||||
project(':receiver').projectDir = "$rootDir/receiver" as File
|
||||
|
||||
include 'processor'
|
||||
project(':processor').projectDir = "$rootDir/processor" as File
|
||||
|
||||
include 'sender'
|
||||
project(':sender').projectDir = "$rootDir/sender" as File
|
||||
|
||||
|
||||
include 'support'
|
||||
project(':support').projectDir = "$rootDir/support" as File
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
package com.myoa.engineering.music.soundhoundfound;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class SoundHoundFoundApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SoundHoundFoundApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
package com.myoa.engineering.music.soundhoundfound;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class SoundHoundFoundApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue