You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' // Add this line
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
app的build.gradle
`
apply plugin: 'com.android.application'
//apply plugin:'android-apt'
def AAVersion='3.3.2'
android {
compileSdkVersion 23
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:23.1.1'
annotationProcessor "org.androidannotations:androidannotations:$AAVersion"
implementation files('libs/androidannotations-3.3.2.jar')
implementation project(':odenlib')
implementation project(':gesturelock')
}
/apt {
arguments {
androidManifestFile variant.outputs[0].processResources.manifestFile
resourcePackageName "com.syd.oden.odendemo"
}
}/
`
工程的build.gradle
`
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4+'
}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
`
The text was updated successfully, but these errors were encountered: