-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
352 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,38 @@ | ||
allprojects { | ||
ext.kotlinVersion = '1.2.21' | ||
ext.kotlinVersion = '1.2.31' | ||
ext.pabloVersion = '1.0.0' | ||
|
||
ext.asmVersion = '6.0' | ||
ext.gripVersion = '0.6.0-beta' | ||
ext.logbackVersion = '1.2.3' | ||
|
||
ext.junitVersion = '4.12' | ||
|
||
ext.androidToolsVersion = '3.1.1' | ||
ext.supportVersion = '27.1.0' | ||
|
||
ext.runnerVersion = '1.0.1' | ||
ext.espressoVersion = '3.0.1' | ||
|
||
buildscript { | ||
repositories { | ||
mavenLocal() | ||
google() | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | ||
classpath "io.michaelrocks.pablo:pablo:$pabloVersion" | ||
} | ||
} | ||
|
||
repositories { | ||
mavenLocal() | ||
google() | ||
jcenter() | ||
} | ||
} | ||
|
||
allprojects { | ||
def properties = new Properties() | ||
properties.load(new FileInputStream(new File(rootDir, "version.properties"))) | ||
def major = properties['version.major'] as int | ||
def minor = properties['version.minor'] as int | ||
def patch = properties['version.patch'] as int | ||
def suffix = properties['version.suffix']?.toString()?.trim() ?: "" | ||
def snapshot = properties['version.snapshot'].toBoolean() | ||
version = "$major.$minor.$patch" + (suffix.isAllWhitespace() ? '' : "-$suffix") + (snapshot ? '-SNAPSHOT' : '') | ||
group = 'io.michaelrocks' | ||
|
||
ext.dryRun = properties['version.dryRun'].toBoolean() | ||
ext.publish = properties['version.publish'].toBoolean() | ||
} | ||
|
||
ext { | ||
asmVersion = '5.2' | ||
gripVersion = '0.5.3-beta' | ||
logbackVersion = '1.2.3' | ||
|
||
junitVersion = '4.12' | ||
|
||
androidToolsVersion = '3.0.1' | ||
supportVersion = '27.0.2' | ||
|
||
runnerVersion = '1.0.1' | ||
espressoVersion = '3.0.1' | ||
version = '0.2.0' | ||
} |
This file was deleted.
Oops, something went wrong.
111 changes: 0 additions & 111 deletions
111
buildSrc/src/main/groovy/io/michaelrocks/bintray/BintrayPlugin.groovy
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
buildSrc/src/main/resources/META-INF/gradle-plugins/bintray.properties
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
buildscript { | ||
dependencies { | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | ||
} | ||
} | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'kotlin' | ||
apply plugin: 'bintray' | ||
apply plugin: 'io.michaelrocks.pablo' | ||
|
||
sourceCompatibility = JavaVersion.VERSION_1_6 | ||
targetCompatibility = JavaVersion.VERSION_1_6 | ||
|
||
dependencies { | ||
compile project(':core') | ||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" | ||
|
||
compile "org.ow2.asm:asm:$asmVersion" | ||
compile "org.ow2.asm:asm-commons:$asmVersion" | ||
compile "io.michaelrocks:grip:$gripVersion" | ||
compile "ch.qos.logback:logback-classic:$logbackVersion" | ||
|
||
relocate "org.ow2.asm:asm:$asmVersion" | ||
relocate "org.ow2.asm:asm-commons:$asmVersion" | ||
relocate "io.michaelrocks:grip:$gripVersion" | ||
|
||
testCompile "junit:junit:$junitVersion" | ||
} | ||
|
||
jar { | ||
destinationDir = file('build/jar') | ||
} | ||
|
||
shadowJar { | ||
relocate 'io.michaelrocks.paranoid', 'io.michaelrocks.paranoid' | ||
relocate 'io.michaelrocks.grip', 'io.michaelrocks.paranoid.grip' | ||
relocate 'org.objectweb.asm', 'io.michaelrocks.paranoid.asm' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.