Migrating to Gradle plugin 3.2.1
up vote
0
down vote
favorite
The project was using gradle 4.3.1 earlier now migrating to 4.8.1 with gradle plugin 3.2.1
Project itself does not use any kotlin stuff but I keep getting this error
Could not resolve all files for configuration ':module-sdk:lintClassPath'.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
Required by:
project :sdk > com.android.tools.lint:lint-gradle:26.2.1
project :sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:manifest-merger:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-kotlin:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1 > com.android.tools.build:gradle-api:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1 > com.android.tools:sdklib:26.2.1 > com.android.tools:repository:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-checks:26.2.1 > com.android.tools.lint:lint-api:26.2.1
The project level build.gradle looks like
buildscript
ext.kotlin_version = '1.3.0'
repositories
mavenLocal()
jcenter()
google()
dependencies
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Linttool seems to not able to find kotlin-stdlib-jdk8:1.2.71?
android gradle kotlin
add a comment |
up vote
0
down vote
favorite
The project was using gradle 4.3.1 earlier now migrating to 4.8.1 with gradle plugin 3.2.1
Project itself does not use any kotlin stuff but I keep getting this error
Could not resolve all files for configuration ':module-sdk:lintClassPath'.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
Required by:
project :sdk > com.android.tools.lint:lint-gradle:26.2.1
project :sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:manifest-merger:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-kotlin:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1 > com.android.tools.build:gradle-api:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1 > com.android.tools:sdklib:26.2.1 > com.android.tools:repository:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-checks:26.2.1 > com.android.tools.lint:lint-api:26.2.1
The project level build.gradle looks like
buildscript
ext.kotlin_version = '1.3.0'
repositories
mavenLocal()
jcenter()
google()
dependencies
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Linttool seems to not able to find kotlin-stdlib-jdk8:1.2.71?
android gradle kotlin
Does addingmavenCentral()
to the repo list make any difference?
– Zoe
Nov 8 at 22:14
No it did not help
– Prakash Nadar
Nov 8 at 22:20
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The project was using gradle 4.3.1 earlier now migrating to 4.8.1 with gradle plugin 3.2.1
Project itself does not use any kotlin stuff but I keep getting this error
Could not resolve all files for configuration ':module-sdk:lintClassPath'.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
Required by:
project :sdk > com.android.tools.lint:lint-gradle:26.2.1
project :sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:manifest-merger:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-kotlin:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1 > com.android.tools.build:gradle-api:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1 > com.android.tools:sdklib:26.2.1 > com.android.tools:repository:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-checks:26.2.1 > com.android.tools.lint:lint-api:26.2.1
The project level build.gradle looks like
buildscript
ext.kotlin_version = '1.3.0'
repositories
mavenLocal()
jcenter()
google()
dependencies
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Linttool seems to not able to find kotlin-stdlib-jdk8:1.2.71?
android gradle kotlin
The project was using gradle 4.3.1 earlier now migrating to 4.8.1 with gradle plugin 3.2.1
Project itself does not use any kotlin stuff but I keep getting this error
Could not resolve all files for configuration ':module-sdk:lintClassPath'.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
Required by:
project :sdk > com.android.tools.lint:lint-gradle:26.2.1
project :sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:manifest-merger:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:common:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-kotlin:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint-gradle-api:26.2.1 > com.android.tools.build:gradle-api:3.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools:sdk-common:26.2.1 > com.android.tools:sdklib:26.2.1 > com.android.tools:repository:26.2.1
project :module-sdk > com.android.tools.lint:lint-gradle:26.2.1 > com.android.tools.lint:lint:26.2.1 > com.android.tools.lint:lint-checks:26.2.1 > com.android.tools.lint:lint-api:26.2.1
The project level build.gradle looks like
buildscript
ext.kotlin_version = '1.3.0'
repositories
mavenLocal()
jcenter()
google()
dependencies
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Linttool seems to not able to find kotlin-stdlib-jdk8:1.2.71?
android gradle kotlin
android gradle kotlin
edited Nov 8 at 22:17
asked Nov 8 at 22:05
Prakash Nadar
2,0281417
2,0281417
Does addingmavenCentral()
to the repo list make any difference?
– Zoe
Nov 8 at 22:14
No it did not help
– Prakash Nadar
Nov 8 at 22:20
add a comment |
Does addingmavenCentral()
to the repo list make any difference?
– Zoe
Nov 8 at 22:14
No it did not help
– Prakash Nadar
Nov 8 at 22:20
Does adding
mavenCentral()
to the repo list make any difference?– Zoe
Nov 8 at 22:14
Does adding
mavenCentral()
to the repo list make any difference?– Zoe
Nov 8 at 22:14
No it did not help
– Prakash Nadar
Nov 8 at 22:20
No it did not help
– Prakash Nadar
Nov 8 at 22:20
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
allprojects
repositories
google()
jcenter()
The above lines in the project build.gradle fixed the problem.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
allprojects
repositories
google()
jcenter()
The above lines in the project build.gradle fixed the problem.
add a comment |
up vote
0
down vote
allprojects
repositories
google()
jcenter()
The above lines in the project build.gradle fixed the problem.
add a comment |
up vote
0
down vote
up vote
0
down vote
allprojects
repositories
google()
jcenter()
The above lines in the project build.gradle fixed the problem.
allprojects
repositories
google()
jcenter()
The above lines in the project build.gradle fixed the problem.
answered Nov 8 at 23:31
Prakash Nadar
2,0281417
2,0281417
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53216850%2fmigrating-to-gradle-plugin-3-2-1%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Does adding
mavenCentral()
to the repo list make any difference?– Zoe
Nov 8 at 22:14
No it did not help
– Prakash Nadar
Nov 8 at 22:20