-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated the AGP version from 7.4.2 to 8.0.2 and modified gradlew (app… #85
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,106 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'com.google.protobuf' | ||
plugins { | ||
id 'com.android.application' | ||
id "com.google.protobuf" version '0.9.0' | ||
} | ||
|
||
android { | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
compileSdkVersion 29 | ||
|
||
compileSdk 31 | ||
|
||
defaultConfig { | ||
applicationId "com.ddd.bundleclient" | ||
minSdkVersion 24 | ||
targetSdkVersion 29 | ||
minSdk 24 | ||
targetSdk 31 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
|
||
buildTypes { | ||
debug { minifyEnabled false } | ||
release { | ||
minifyEnabled true | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
disable 'GoogleAppIndexingWarning', 'HardcodedText', 'InvalidPackage' | ||
textReport true | ||
textOutput "stdout" | ||
} | ||
} | ||
|
||
protobuf { | ||
protoc { artifact = 'com.google.protobuf:protoc:3.17.3' } | ||
plugins { | ||
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.50.2' // CURRENT_GRPC_VERSION need to change for windows, MAC specific | ||
} | ||
} | ||
generateProtoTasks { | ||
all().each { task -> | ||
task.builtins { | ||
java { option 'lite' } | ||
sourceSets { | ||
main { | ||
proto { | ||
// srcDir 'src/main/proto' | ||
} | ||
task.plugins { | ||
grpc { // Options added to --grpc_out | ||
option 'lite' } | ||
java { | ||
// srcDir 'src/main/java' | ||
} | ||
} | ||
} | ||
namespace 'com.ddd.bundleclient' | ||
} | ||
|
||
dependencies { | ||
implementation 'io.grpc:grpc-protobuf:1.50.2' | ||
implementation 'io.grpc:grpc-stub:1.50.2' | ||
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+ | ||
implementation 'io.grpc:grpc-okhttp:1.50.2' // CURRENT_GRPC_VERSION | ||
|
||
def work_version = "2.7.0" | ||
implementation "androidx.work:work-runtime:$work_version" | ||
|
||
implementation 'androidx.appcompat:appcompat:1.3.1' | ||
implementation 'com.google.android.material:material:1.4.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.1.1' | ||
implementation 'androidx.lifecycle:lifecycle-common-java8:2.3.1' | ||
testImplementation 'junit:junit:4.+' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.3' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' | ||
implementation ('org.whispersystems:signal-protocol-android:2.2.0') | ||
{ | ||
exclude group: 'com.google.protobuf', module:'protobuf-java' | ||
} | ||
// DDD common core | ||
implementation 'com.ddd:bundle-core:0.0.2' | ||
|
||
// You need to build grpc-java to obtain these libraries below. | ||
implementation 'io.grpc:grpc-okhttp:1.50.2' // CURRENT_GRPC_VERSION | ||
implementation 'io.grpc:grpc-protobuf:1.50.2' // CURRENT_GRPC_VERSION | ||
implementation 'io.grpc:grpc-stub:1.50.2' // CURRENT_GRPC_VERSION | ||
implementation 'org.apache.tomcat:annotations-api:6.0.53' | ||
implementation 'com.google.code.gson:gson:2.8.7' | ||
implementation group: 'commons-io', name: 'commons-io', version: '2.4' | ||
implementation 'org.apache.commons:commons-text:1.9' | ||
|
||
//JSON | ||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.8.9' | ||
// This dependency is used by the application. | ||
implementation 'com.google.guava:guava:30.1.1-jre' | ||
// Signal Protocols | ||
implementation ('org.whispersystems:signal-protocol-android:2.2.0') | ||
{ | ||
exclude group: 'com.google.protobuf', module:'protobuf-java' | ||
} | ||
// DDD common core | ||
implementation 'com.ddd:bundle-core:0.0.2' | ||
} | ||
|
||
task prepareKotlinBuildScriptModel { | ||
|
||
} | ||
protobuf { | ||
protoc { | ||
artifact = 'com.google.protobuf:protoc:3.17.3' | ||
} | ||
plugins { | ||
grpc { | ||
// https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/1.42.0/ | ||
// for macOS M1 and M2, using 'osx-x86_64' version | ||
// if M2 also install Rosetta in terminal using command: softwareupdate --install-rosetta | ||
artifact = 'io.grpc:protoc-gen-grpc-java:1.42.0' | ||
} | ||
} | ||
generateProtoTasks { | ||
all().each { task -> | ||
task.builtins { | ||
java { | ||
option "lite" | ||
} | ||
} | ||
task.plugins { | ||
grpc { option 'lite' } | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Wed Jun 12 14:32:28 PDT 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Wed Jun 12 14:26:07 PDT 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we actually need netty and tomcat? (perhaps okhttp needs netty?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need Tomcat but not Netty. Removed netty in the latest commit.