initial commit

This commit is contained in:
CaiHQ 2021-11-01 11:28:54 +08:00
parent b3648064ff
commit 19747b2811
5 changed files with 59 additions and 0 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
.gradle
.idea
gradlew
gradlew.bat
gradle
# Compiled class file
*.class

8
.gitmodules vendored Normal file
View File

@ -0,0 +1,8 @@
[submodule "datanet-search-engine-front"]
path = datanet-search-engine-front
url = git@gitee.com:BDWare/datanet-search-engine-front.git
branch = master
[submodule "datanet-search-engine-backend"]
path = datanet-search-engine-backend
url = git@gitee.com:BDWare/datanet-search-engine-backend.git
branch = master

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# 项目说明
初次clone可使用以下命令。
```bash
git clone https://xxxx/XXX-bundle.git
```
在git clone之后执行
```bash
git submodule update --init
```
```bash
git submodule foreach -q --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
```
更新所有子项目:
```
git pull --rebase --recurse-submodules
```

24
build.gradle Normal file
View File

@ -0,0 +1,24 @@
plugins {
id 'java'
id 'idea'
}
def currVersion = "0.1.0"
ext.projectIds = ['group': 'org.bdware.datanet.searchengine', 'version': currVersion]
sourceCompatibility = 1.8
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:none'
options.compilerArgs << '-Xlint:deprecation' << "-Werror"
}
repositories {
mavenCentral()
}
project(':datanet-search-engine-backend') {
group = "org.bdware.datanet.searchengine"
version = projectIds.version
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
}
}

2
settings.gradle Normal file
View File

@ -0,0 +1,2 @@
rootProject.name = 'DatanetSearchEngineBundle'
include 'datanet-search-engine-backend'