Could not find 1.1-M04 annotation processing

Having some trouble getting 1.1-M04 running. Getting this error.
“Could not find org.jetbrains.kotlin:kotlin-annotation-processing:1.1-M04”
Any help would be appreciated thanks.

here’s my project gradle file

apply from: 'dependencies.gradle'

buildscript {
  ext.kotlin_version = '1.1-M04'
  repositories {
    jcenter()
    maven { url 'https://maven.fabric.io/public' }
    maven { url  "http://dl.bintray.com/kotlin/kotlin-eap-1.1" }
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:2.2.3'
    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
    classpath 'me.tatarka:gradle-retrolambda:3.3.0'
    classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.2'
    classpath 'com.canelmas.let:let-plugin:0.1.10'
    classpath 'com.google.gms:google-services:3.0.0'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'io.fabric.tools:gradle:1.+'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
  }
}

allprojects {
  repositories {
    jcenter()
    maven { url "https://jitpack.io" }
  }
}

ext.versions = [
    androidTargetSdk  : 23,
    androidCompiledSdk: 23,
    androidMinSdk     : 19,
    androidBuildTools : '25.0.0'
]
1 Like

You need to add the eap-1.1 repository to your main repositories block, not only to the buildscript repositories block.

That worked! thanks!