-
Notifications
You must be signed in to change notification settings - Fork 391
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
versions updated; deprecated configurations updated. #31
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/out | ||
/.idea | ||
/.gradle | ||
/local.properties | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
|
@@ -7,7 +9,6 @@ buildscript { | |
} | ||
dependencies { | ||
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.3" | ||
classpath "net.ltgt.gradle:gradle-apt-plugin:0.14" | ||
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.2" | ||
} | ||
} | ||
|
@@ -16,7 +17,6 @@ apply plugin: "com.github.johnrengelman.shadow" | |
apply plugin: "com.google.protobuf" | ||
apply plugin: "java" | ||
apply plugin: "maven" | ||
apply plugin: "net.ltgt.apt" | ||
|
||
repositories { | ||
mavenLocal() | ||
|
@@ -33,24 +33,23 @@ configurations { | |
// The repackaging rules are defined in the "shadowJar" task below. | ||
dependencies { | ||
compile "com.android.tools:r8:1.0.37" | ||
compile "com.android.tools.build:apkzlib:3.2.0-alpha06" | ||
compile "com.android.tools.ddms:ddmlib:26.2.0-alpha04" | ||
|
||
compile "com.android.tools.build:apkzlib:3.2.0" | ||
compile "com.android.tools.ddms:ddmlib:26.2.0" | ||
shadow "com.android.tools.build:aapt2-proto:0.3.1" | ||
shadow "com.google.auto.value:auto-value:1.5.2" | ||
apt "com.google.auto.value:auto-value:1.5.2" | ||
annotationProcessor "com.google.auto.value:auto-value:1.5.2" | ||
syslogic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
shadow "com.google.errorprone:error_prone_annotations:2.2.0" | ||
shadow "com.google.guava:guava:26.0-jre" | ||
shadow "com.google.protobuf:protobuf-java:3.4.0" | ||
shadow "com.google.protobuf:protobuf-java-util:3.4.0" | ||
shadow "com.google.protobuf:protobuf-java:3.6.1" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you could switch to 3.6.0 instead, that would be helpful. We can't use 3.6.1 on our internal branch at the moment. |
||
shadow "com.google.protobuf:protobuf-java-util:3.6.1" | ||
|
||
compileWindows "com.android.tools.build:aapt2:3.2.0-alpha14-4748712:windows" | ||
compileMacOs "com.android.tools.build:aapt2:3.2.0-alpha14-4748712:osx" | ||
compileLinux "com.android.tools.build:aapt2:3.2.0-alpha14-4748712:linux" | ||
compileWindows "com.android.tools.build:aapt2:3.2.0:windows" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the stable version is: 3.2.0-4818971 |
||
compileMacOs "com.android.tools.build:aapt2:3.2.0:osx" | ||
compileLinux "com.android.tools.build:aapt2:3.2.0:linux" | ||
|
||
testCompile "com.android.tools.build:aapt2-proto:0.3.1" | ||
testCompile "com.google.auto.value:auto-value-annotations:1.5.2" | ||
testApt "com.google.auto.value:auto-value:1.5.2" | ||
testAnnotationProcessor "com.google.auto.value:auto-value:1.5.2" | ||
testCompile "com.google.errorprone:error_prone_annotations:2.2.0" | ||
testCompile "com.google.guava:guava:26.0-jre" | ||
testCompile "com.google.truth.extensions:truth-java8-extension:0.42" | ||
|
@@ -79,7 +78,7 @@ test { | |
|
||
protobuf { | ||
protoc { | ||
artifact = "com.google.protobuf:protoc:3.4.0" | ||
artifact = "com.google.protobuf:protoc:3.6.1" | ||
} | ||
} | ||
|
||
|
@@ -130,7 +129,7 @@ shadowJar { | |
} | ||
|
||
// Artifact to use as standalone command line tool. | ||
task executableJar(type: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) { | ||
task executableJar(type: ShadowJar) { | ||
baseName = 'bundletool' | ||
classifier = 'all' | ||
from sourceSets.main.output | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason to stay so low? 4.10.2 is latest There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that's just the current "least" version for build-tools 3.2.0. |
||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
|
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.
nit: Move before the "/out" to keep in alphabetical order (although I realize now that the gradle is incorrectly placed...)