Skip to content

Commit

Permalink
添加编译选项
Browse files Browse the repository at this point in the history
  • Loading branch information
GGXBoo committed Apr 18, 2018
1 parent e33c534 commit e307915
Showing 4 changed files with 12 additions and 32 deletions.
12 changes: 1 addition & 11 deletions annotations/build.gradle
Original file line number Diff line number Diff line change
@@ -4,18 +4,8 @@ group='com.github.guanguoxiang'
project.archivesBaseName="annotations"

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

sourceCompatibility = "1.7"
targetCompatibility = "1.7"
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

pom.groupId = group
pom.artifactId = "annotations"
}
}
}
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -32,8 +32,8 @@ dependencies {
implementation project(':sharepreference')
implementation project(':annotations')
annotationProcessor project(':compiler')
// implementation 'com.github.guanguoxiang.EasySp:Annotations:1.0.2'
// implementation 'com.github.guanguoxiang.EasySp:SharePreference:1.0.2'
// annotationProcessor 'com.github.guanguoxiang.EasySp:Compiler:1.0.2'
// implementation 'com.github.guanguoxiang.EasySp:annotations:1.0.5'
// implementation 'com.github.guanguoxiang.EasySp:SharePreference:1.0.5'
// annotationProcessor 'com.github.guanguoxiang.EasySp:compiler:1.0.5'
testImplementation 'junit:junit:4.12'
}
18 changes: 4 additions & 14 deletions compiler/build.gradle
Original file line number Diff line number Diff line change
@@ -3,21 +3,11 @@ apply plugin: 'com.github.dcendents.android-maven'
group='com.github.guanguoxiang'
project.archivesBaseName="compiler"
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.auto.service:auto-service:1.0-rc2'
implementation 'com.squareup:javapoet:1.8.0'
implementation project(path: ':annotations')
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.auto.service:auto-service:1.0-rc2'
compile 'com.squareup:javapoet:1.8.0'
compile project(path: ':annotations')
}

sourceCompatibility = "1.7"
targetCompatibility = "1.7"
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

pom.groupId = group
pom.artifactId = "compiler"
}
}
}
8 changes: 4 additions & 4 deletions sharepreference/build.gradle
Original file line number Diff line number Diff line change
@@ -24,12 +24,12 @@ android {
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support:appcompat-v7:26.1.0'
testImplementation 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
}
uploadArchives {
repositories {

0 comments on commit e307915

Please sign in to comment.