mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
Bug 1258769 - Backed out changeset fe11700b6cdf.
MozReview-Commit-ID: Jxz5RK8o4n4 --HG-- extra : rebase_source : 5737fdddfe1a46011ba9977490958e2383d6537f
This commit is contained in:
parent
d2908c0ada
commit
140701c868
@ -26,7 +26,7 @@ buildscript {
|
||||
url gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORY
|
||||
}
|
||||
}
|
||||
// For android-sdk-manager SNAPSHOT releases & soter.
|
||||
// For android-sdk-manager SNAPSHOT releases.
|
||||
maven {
|
||||
url "file://${gradle.mozconfig.topsrcdir}/mobile/android/gradle/m2repo"
|
||||
}
|
||||
@ -40,7 +40,6 @@ buildscript {
|
||||
}
|
||||
// Provided in tree.
|
||||
classpath 'com.jakewharton.sdkmanager:gradle-plugin:1.5.0-SNAPSHOT'
|
||||
classpath "gradle.plugin.si.dlabs.gradle:soter:1.0.6"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -338,21 +338,6 @@ android.applicationVariants.all { variant ->
|
||||
android.sourceSets."${productFlavor}${buildType.capitalize()}".jniLibs.srcDir syncLibsFromDistDir.destinationDir
|
||||
}
|
||||
|
||||
apply plugin: 'si.dlabs.soter'
|
||||
|
||||
soter {
|
||||
dependencies {
|
||||
checkstyleRules files("checkstyle.xml")
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
enabled true
|
||||
uploadReports false
|
||||
toolVersion "6.7"
|
||||
showViolations true
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'spoon'
|
||||
|
||||
spoon {
|
||||
|
@ -1,49 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<!DOCTYPE module PUBLIC
|
||||
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
|
||||
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
|
||||
|
||||
<!-- TODO: Clean up code & add checks:
|
||||
- WhitespaceAround
|
||||
- EmptyLineSeparator
|
||||
- NeedBraces
|
||||
- LeftCurly // placement of "{" in new scope or literal
|
||||
- RightCurly // placement of "}" in close scope or literal
|
||||
- Indentation
|
||||
- OneStatementPerLine
|
||||
- OperatorWrap
|
||||
- SeparatorWrap
|
||||
- MultipleVariableDeclarations
|
||||
- FallThrough
|
||||
(I spent too much time already)
|
||||
|
||||
Maybe add:
|
||||
- OneTopLevelClass
|
||||
- OverloadMethodsDeclarationOrder
|
||||
- Empty*Block // better to catch errors!
|
||||
(I spent too much time already)
|
||||
|
||||
See http://checkstyle.sourceforge.net/google_style.html
|
||||
for a good set of defaults.
|
||||
-->
|
||||
|
||||
<module name="Checker">
|
||||
<property name="charset" value="UTF-8"/>
|
||||
|
||||
<!-- TODO: <property name="fileExtensions" value="java, properties, xml"/> -->
|
||||
|
||||
<module name="FileTabCharacter"> <!-- No tabs! -->
|
||||
<property name="eachLine" value="true"/>
|
||||
</module>
|
||||
|
||||
<module name="TreeWalker">
|
||||
<module name="NoLineWrap">
|
||||
<property name="tokens" value="IMPORT,PACKAGE_DEF"/>
|
||||
</module>
|
||||
<module name="OuterTypeFilename"/> <!-- `class Lol` only in Lol.java -->
|
||||
</module>
|
||||
|
||||
</module>
|
@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 D·Labs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
Binary file not shown.
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>gradle.plugin.si.dlabs.gradle</groupId>
|
||||
<artifactId>soter</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>si.dlabs</groupId>
|
||||
<artifactId>aws-java-sdk-s3</artifactId>
|
||||
<version>1.9.35</version>
|
||||
<scope>compile</scope>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.blazsolar.gradle</groupId>
|
||||
<artifactId>gradle-hipchat-plugin</artifactId>
|
||||
<version>0.2.0</version>
|
||||
<scope>compile</scope>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ajoberstar</groupId>
|
||||
<artifactId>grgit</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<scope>compile</scope>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp</groupId>
|
||||
<artifactId>okhttp</artifactId>
|
||||
<version>2.0.0</version>
|
||||
<scope>compile</scope>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-mapper-asl</artifactId>
|
||||
<version>1.9.13</version>
|
||||
<scope>runtime</scope>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
Loading…
x
Reference in New Issue
Block a user