some refactoring
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -40,4 +40,4 @@ bin/
|
|||||||
|
|
||||||
### Mac OS ###
|
### Mac OS ###
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/src/main/java/hdvtdev/telegram/Count.java
|
/core/src/main/java/hdvtdev/telegram/Count.java
|
||||||
|
|||||||
5
.idea/gradle.xml
generated
5
.idea/gradle.xml
generated
@@ -8,6 +8,11 @@
|
|||||||
<option name="modules">
|
<option name="modules">
|
||||||
<set>
|
<set>
|
||||||
<option value="$PROJECT_DIR$" />
|
<option value="$PROJECT_DIR$" />
|
||||||
|
<option value="$PROJECT_DIR$/core" />
|
||||||
|
<option value="$PROJECT_DIR$/longpolling" />
|
||||||
|
<option value="$PROJECT_DIR$/longpolling-okhttp" />
|
||||||
|
<option value="$PROJECT_DIR$/longpolling/longpolling-okhttp" />
|
||||||
|
<option value="$PROJECT_DIR$/test" />
|
||||||
</set>
|
</set>
|
||||||
</option>
|
</option>
|
||||||
</GradleProjectSettings>
|
</GradleProjectSettings>
|
||||||
|
|||||||
20
build.gradle
20
build.gradle
@@ -10,18 +10,18 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.3'
|
implementation(project(":core"))
|
||||||
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
implementation(project(":longpolling-okhttp"))
|
||||||
|
implementation(project(":test"))
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
tasks.register('fat', Jar) {
|
||||||
|
archiveClassifier.set('all')
|
||||||
manifest {
|
|
||||||
attributes(
|
|
||||||
'Main-Class': 'hdvtdev.telegram.Main'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
from sourceSets.main.output
|
||||||
|
|
||||||
|
from {
|
||||||
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,8 @@
|
|||||||
rootProject.name = 'TeleJ'
|
rootProject.name = 'TeleJ'
|
||||||
|
include 'longpolling'
|
||||||
|
include 'core'
|
||||||
|
include 'longpolling:longpolling-okhttp'
|
||||||
|
findProject(':longpolling:longpolling-okhttp')?.name = 'longpolling-okhttp'
|
||||||
|
include 'test'
|
||||||
|
include 'longpolling-okhttp'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user