Skip to content

Commit

Permalink
Make necessary adjustments for 3.0.0 gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Elmas authored and Can Elmas committed Sep 3, 2017
1 parent 3a3a516 commit b06be3c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
6 changes: 3 additions & 3 deletions let-plugin/src/main/groovy/com/canelmas/let/LetPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ class LetPlugin implements Plugin<Project> {
}

project.dependencies {
compile 'com.canelmas.let:let-runtime:0.1.11'
compile 'org.aspectj:aspectjrt:1.8.6'
compile 'com.canelmas.let:let-annotations:0.1.11'
implementation 'org.aspectj:aspectjrt:1.8.10'
implementation 'com.canelmas.let:let-runtime:1.0.0-beta1'
implementation 'com.canelmas.let:let-annotations:1.0.0-beta1'
}

variants.all { variant ->
Expand Down
10 changes: 5 additions & 5 deletions let-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ apply plugin: 'com.github.dcendents.android-maven'
apply from: '../gradle-mvn-push.gradle'

dependencies {
compile deps.aspectjrt
compile project(':let-annotations')
implementation deps.aspectjrt
implementation project(':let-annotations')

compile deps.appCompatv7
compile deps.supportAnnotations
implementation deps.appCompatv7
implementation deps.supportAnnotations

testCompile deps.junit
testImplementation deps.junit
}

android {
Expand Down
17 changes: 8 additions & 9 deletions let-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
buildscript {
repositories {
jcenter()
// mavenLocal()
mavenLocal()
google()
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath 'com.canelmas.let:let-plugin:0.1.11'
classpath 'com.canelmas.let:let-plugin:1.0.0-beta1'
}
}

Expand All @@ -29,7 +30,7 @@ apply plugin: 'let'

repositories {
jcenter()
// mavenLocal()
mavenLocal()
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}

Expand Down Expand Up @@ -59,12 +60,10 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])

compile deps.appCompatv7
compile deps.supportDesign
implementation deps.appCompatv7
implementation deps.supportDesign

testCompile deps.junit

// compile 'com.android.tools:annotations:24.3.0'
testImplementation deps.junit
}

0 comments on commit b06be3c

Please sign in to comment.