-
Notifications
You must be signed in to change notification settings - Fork 38
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
1 parent
9fc2ec1
commit 1f926f0
Showing
410 changed files
with
20,303 additions
and
26,158 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @isuPatches |
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 |
---|---|---|
|
@@ -2,6 +2,4 @@ | |
.gradle | ||
/local.properties | ||
/.idea | ||
.DS_Store | ||
/build | ||
/captures |
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
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,24 +1,62 @@ | ||
buildscript { | ||
project.ext { | ||
agp_version = '3.1.0' | ||
bintray_version = '1.8.4' | ||
cpd_version = '1.1' | ||
dokka_version = '0.9.17' | ||
dexcount_version = '0.8.3' | ||
jacoco_version = '0.8.1' | ||
kotlin_version = "1.2.60" | ||
maven_version = '2.0' | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
google() | ||
maven { url "https://plugins.gradle.org/m2/" } | ||
} | ||
|
||
dependencies { | ||
classpath "com.android.tools.build:gradle:2.3.3" | ||
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.1" | ||
classpath "com.github.dcendents:android-maven-gradle-plugin:1.5" | ||
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3" | ||
classpath "org.jacoco:org.jacoco.core:0.7.9" | ||
classpath "org.jacoco:org.jacoco.agent:0.7.9" | ||
classpath "org.jacoco:org.jacoco.report:0.7.9" | ||
classpath "com.android.tools.build:gradle:$agp_version" | ||
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:$dokka_version" | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:$dexcount_version" | ||
classpath "com.github.dcendents:android-maven-gradle-plugin:$maven_version" | ||
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$bintray_version" | ||
classpath "de.aaschmid:gradle-cpd-plugin:$cpd_version" | ||
classpath "org.jacoco:org.jacoco.core:$jacoco_version" | ||
classpath "org.jacoco:org.jacoco.agent:$jacoco_version" | ||
classpath "org.jacoco:org.jacoco.report:$jacoco_version" | ||
} | ||
} | ||
|
||
plugins { | ||
id "io.gitlab.arturbosch.detekt" version "1.0.0.RC8" | ||
id "org.jlleitschuh.gradle.ktlint" version "5.0.0" | ||
} | ||
|
||
apply from: rootProject.file("$rootProject.projectDir/gradle/detekt.gradle") | ||
apply from: rootProject.file("$rootProject.projectDir/gradle/ktlint.gradle") | ||
apply from: rootProject.file("$rootProject.projectDir/gradle/static-analysis.gradle") | ||
|
||
apply from: rootProject.file("$rootProject.projectDir/gradle/code-coverage.gradle") | ||
|
||
subprojects { | ||
apply plugin: 'org.jetbrains.dokka-android' | ||
apply plugin: "org.jlleitschuh.gradle.ktlint" | ||
|
||
apply from: rootProject.file("$rootProject.projectDir/gradle/dokka.gradle") | ||
|
||
apply from: rootProject.file("$rootProject.projectDir/gradle/cpd.gradle") | ||
apply from: rootProject.file("$rootProject.projectDir/gradle/pmd.gradle") | ||
|
||
apply from: rootProject.file("$rootProject.projectDir/gradle/jacoco.gradle") | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
google() | ||
} | ||
} | ||
|
||
|
@@ -49,8 +87,8 @@ ext { | |
// allows for -Dpre-dex=false to be set | ||
preDexEnabled = "true" == System.getProperty("pre-dex", "true") | ||
|
||
// Bintray and POM Details | ||
GROUP = "com.isupatches" | ||
VERSION_NAME = "2.0.1" | ||
|
||
BINTRAY_REPO = "Maven" | ||
BINTRAY_NAME = "wisefy" | ||
|
@@ -74,4 +112,23 @@ ext { | |
POM_DEVELOPER_ID = "isuPatches" | ||
POM_DEVELOPER_NAME = "Patches Klinefelter" | ||
POM_DEVELOPER_EMAIL = "[email protected]" | ||
|
||
// Common build version details | ||
BUILD_TOOLS_VERSION = '27.0.3' | ||
MAX_SDK_VERSION = 27 | ||
MIN_SDK_VERSION = 16 | ||
VERSION_CODE = 13 | ||
VERSION_NAME = "3.0.0" | ||
} | ||
|
||
task makeGoodChoices { | ||
group = "verification" | ||
|
||
dependsOn 'staticAnalysisSanityCheck', 'jacocoAllCombinedTests' | ||
doLast { | ||
println "\n#############################################" + | ||
"\n# All checks passed! You are doing so good! #" + | ||
"\n# You may now push the awesome to origin :) #" + | ||
"\n#############################################" | ||
} | ||
} |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE import-control PUBLIC | ||
"-//Puppy Crawl//DTD Import Control 1.2//EN" | ||
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd"> | ||
<import-control pkg="com.isupatches.wisefy"> | ||
|
||
<allow pkg="com.isupatches.wisefy"/> | ||
|
||
<!-- Android --> | ||
<allow pkg="android.annotation"/> | ||
<allow pkg="android.content"/> | ||
<allow pkg="android.net"/> | ||
<allow pkg="android.os"/> | ||
<allow pkg="android.support"/> | ||
<allow pkg="android.util"/> | ||
|
||
<!-- Google --> | ||
<allow pkg="com.google.android.gms"/> | ||
|
||
<!-- Java --> | ||
<allow pkg="java.lang.annotation"/> | ||
<allow pkg="java.math"/> | ||
<allow pkg="java.net"/> | ||
<allow pkg="java.util"/> | ||
|
||
<!-- Junit --> | ||
<allow pkg="org.junit"/> | ||
|
||
<!-- Mockito --> | ||
<allow pkg="org.mockito"/> | ||
</import-control> |
Oops, something went wrong.