[CONTRIBUTION] fix gradle build
jospas opened this issue · 1 comments
jospas commented
** Describe the issue you are trying to solve **
Get this build with a modern gradle and update AWS dependencies to unlock access to latest locale forTranscribe
** Details of the changes **
Update build.gradle to move compile to implementation and remove local jars folder, also updated to latest AWS SDK and third party dependencies.
** Test cases **
None
** Additional context **
Patched build.gradle
apply plugin: 'java'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(
'io.reactivex.rxjava2:rxjava:2.2.21',
'software.amazon.awssdk:transcribestreaming:2.17.90',
'com.amazonaws:amazon-kinesis-video-streams-parser-library:1.0.15',
'com.amazonaws:aws-java-sdk-dynamodb:1.12.119',
'com.amazonaws:aws-java-sdk-kinesisvideo:1.12.119',
'com.amazonaws:aws-lambda-java-core:1.2.1',
'com.amazonaws:aws-lambda-java-events:3.8.0',
'com.amazonaws:aws-java-sdk-cloudwatch:1.12.119',
'org.slf4j:slf4j-api:1.7.24',
'org.slf4j:slf4j-log4j12:1.7.24',
'software.amazon.awssdk:netty-nio-client:2.17.90',
'org.apache.commons:commons-lang3:3.12.0'
)
}
task buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from configurations.compileClasspath
}
}
build.dependsOn buildZip
hassanctech commented
Can you please clarify what the issue was before and since it appears you have a code contribute please feel free to create a PR with the changes instead of an Issue!