Hotfix some java_tools gradle configs (#3165)
* fix: deleted mavenRepositories declaration * fix: deleted unnecessary settings.gradle for enum_to_string * fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder * fix: deleted mavenRepositories declaration * fix: deleted unnecessary settings.gradle for enum_to_string * fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder * fix: placed test classes to test folder in enum_to_string; feat: get updates from master
This commit is contained in:
parent
2cfd9dddd0
commit
47b5bd1f9d
|
@ -2,5 +2,6 @@ ext.libs = [
|
|||
junit : "junit:junit:4.13",
|
||||
annotations: "org.jetbrains:annotations:16.0.1",
|
||||
javaxJson : "javax.json:javax.json-api:1.1.4",
|
||||
snakeyaml : "org.yaml:snakeyaml:1.26"
|
||||
snakeyaml : "org.yaml:snakeyaml:1.26",
|
||||
jsr305 : "com.google.code.findbugs:jsr305:3.0.2"
|
||||
]
|
|
@ -1 +1 @@
|
|||
Subproject commit 635b5567e3442b89aa3941d74622df9aceb7cab9
|
||||
Subproject commit 10cbc928b0367d1396662cd5f66b5b1f00de637e
|
|
@ -2,6 +2,8 @@ plugins {
|
|||
id 'java'
|
||||
}
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
dependencies {
|
||||
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
|
||||
implementation libs.jsr305
|
||||
}
|
|
@ -2,7 +2,9 @@ plugins {
|
|||
id 'java-library'
|
||||
}
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
dependencies {
|
||||
implementation project(':logging-api')
|
||||
implementation fileTree(dir: '../lib', include: 'annotations.jar')
|
||||
implementation libs.annotations
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
include ':logging-api'
|
||||
project(':logging-api').projectDir = new File('../logging-api')
|
|
@ -2,15 +2,13 @@ plugins {
|
|||
id 'java-library'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'jar'
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
dependencies {
|
||||
implementation 'junit:junit:4.8.2'
|
||||
implementation fileTree(dir: '../../java_console/lib', include: 'annotations.jar')
|
||||
testImplementation libs.junit
|
||||
implementation libs.annotations
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
|
@ -5,20 +5,15 @@ plugins {
|
|||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'shadowJar'
|
||||
|
||||
dependencies {
|
||||
// https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305
|
||||
implementation 'com.google.code.findbugs:jsr305:2.0.1'
|
||||
implementation libs.jsr305
|
||||
implementation project(':logging')
|
||||
implementation project(':logging-api')
|
||||
implementation fileTree(dir: '../../java_console/lib', include: 'annotations.jar')
|
||||
|
||||
implementation libs.junit
|
||||
implementation libs.annotations
|
||||
testImplementation libs.junit
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -56,8 +51,8 @@ shadowJar {
|
|||
and loggin-api as in build.xml
|
||||
*/
|
||||
dependencies {
|
||||
exclude(dependency('com.google.code.findbugs:jsr305:.*'))
|
||||
exclude(dependency('junit:junit:.*'))
|
||||
exclude 'annotations.jar'
|
||||
exclude(dependency(libs.jsr305))
|
||||
exclude(dependency(libs.junit))
|
||||
exclude(dependency(libs.annotations))
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
include ':logging'
|
||||
project(':logging').projectDir = new File('../../java_console/logging')
|
||||
include ':logging-api'
|
||||
project(':logging-api').projectDir = new File('../../java_console/logging-api')
|
|
@ -3,18 +3,12 @@ plugins {
|
|||
id 'application'
|
||||
}
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'jar'
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
dependencies {
|
||||
implementation libs.junit
|
||||
testImplementation libs.junit
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
|
@ -2,10 +2,6 @@ plugins {
|
|||
id 'java-library'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'jar'
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
|
|
@ -2,14 +2,12 @@ plugins {
|
|||
id 'java-library'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'jar'
|
||||
|
||||
apply from: '../../android/dependencies.gradle'
|
||||
|
||||
dependencies {
|
||||
implementation 'junit:junit:4.8.2'
|
||||
testImplementation libs.junit
|
||||
}
|
||||
|
||||
jar {
|
||||
|
|
Loading…
Reference in New Issue