Skip to content

Commit

Permalink
Downgraded to AGP v3.6-beta05 to avoid issues on the check task.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmaggi committed Dec 9, 2019
1 parent e7af377 commit fdc9915
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 105 deletions.
25 changes: 11 additions & 14 deletions about/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand Down Expand Up @@ -44,9 +43,7 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}

buildFeatures {
dataBinding = true
}
dataBinding.isEnabled = true
}

dependencies {
Expand Down
9 changes: 3 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2019 Google Inc.
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -64,7 +64,6 @@ android {
getDefaultProguardFile("proguard-android.txt"),
"proguard-rules.pro"
)

}
getByName("debug") {
(this as ExtensionAware).extra["alwaysUpdateBuildId"] = false
Expand All @@ -83,9 +82,7 @@ android {
":search"
)

buildFeatures {
dataBinding = true
}
dataBinding.isEnabled = true

kotlinOptions {
jvmTarget = "1.8"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spotless {
}
kotlinGradle {
// same as kotlin, but for .gradle.kts files (defaults to '*.gradle.kts')
target("*.gradle.kts")
target("**/*.gradle.kts")

ktlint("0.36.0")

Expand Down
23 changes: 11 additions & 12 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand All @@ -21,4 +20,4 @@ plugins {

repositories {
gradlePluginPortal()
}
}
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ object Versions {
val compileSdk = 29
val targetSdk = 28
val minSdk = 23
val gradle_plugin = "4.0.0-alpha05"
val gradle_plugin = "3.6.0-beta05"

val appcompat = "1.1.0"
val androidx = "1.0.0"
Expand Down
27 changes: 12 additions & 15 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand Down Expand Up @@ -66,9 +65,7 @@ android {
exclude("META-INF/core_debug.kotlin_module")
}

buildFeatures {
dataBinding = true
}
dataBinding.isEnabled = true
}

dependencies {
Expand Down Expand Up @@ -98,4 +95,4 @@ kapt.arguments {
)
}

androidExtensions.isExperimental = true
androidExtensions.isExperimental = true
26 changes: 11 additions & 15 deletions designernews/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand Down Expand Up @@ -46,12 +45,9 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}

buildFeatures {
dataBinding = true
}
dataBinding.isEnabled = true
}


dependencies {
implementation(project(":app"))
implementation(project(":core"))
Expand Down
27 changes: 11 additions & 16 deletions dribbble/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand Down Expand Up @@ -49,9 +48,7 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}

buildFeatures {
dataBinding = true
}
dataBinding.isEnabled = true
}

dependencies {
Expand All @@ -66,5 +63,3 @@ dependencies {
}

kapt.useBuildCache = true


2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-milestone-1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-bin.zip
21 changes: 10 additions & 11 deletions search/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand Down
21 changes: 10 additions & 11 deletions test_shared/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
/*
* Copyright 2019 Google LLC
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

plugins {
Expand Down
4 changes: 2 additions & 2 deletions third_party/bypass/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2019 Google Inc.
* Copyright 2019 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down

0 comments on commit fdc9915

Please sign in to comment.