View EnterpriseRepository.gradle
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
class EnterpriseRepositoryPlugin implements Plugin<Gradle> { | |
void apply(Gradle gradle) { | |
println("EnterpriseRepositoryPlugin") | |
} | |
} | |
ext.applyEnterprisePlugin = { gradle -> | |
gradle.apply plugin: EnterpriseRepositoryPlugin | |
} |
View publishing.gradle
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
import java.util.logging.Level | |
apply plugin: "maven" | |
apply plugin: "maven-publish" | |
def publishOpts = [ | |
"kotlin" : false, | |
"android" : "false", | |
"androidProject" : false, | |
"androidApplication": false, |
View gist:7ba453df7bb17dcd4474e6c0d323ed35
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
//: Playground - noun: a place where people can play | |
import UIKit | |
import RxSwiftTest | |
import RxSwift | |
func api1() -> Observable<String> { | |
return Observable.create{ (subscriber) -> Disposable in | |
print("api1 called") | |
subscriber.onNext("api1 #1") |
View optional.yml
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
included: | |
- Gate-iOS/Gate-iOS | |
- SwiftVIPER/SwiftVIPER | |
disabled_rules: | |
- line_length | |
- identifier_name | |
- trailing_whitespace | |
- trailing_newline | |
- vertical_parameter_alignment |
View Test.swift
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
import Foundation | |
@objc protocol One: NSObjectProtocol { | |
@objc optional func method() | |
} | |
class NoGenericBase: NSObject, One { } | |
class NoGenericImpl: NoGenericBase { | |
func method() { print("second method") } |
View Delegate.swift
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
class EndPoint { | |
} | |
protocol API { | |
func login() | |
} | |
class APIVersionOne: API { |
View Localize.podspec
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
Pod::Spec.new do |s| | |
s.authors = "Re:Build" | |
s.homepage = "none" | |
s.summary = "Re:Build of Localize" | |
s.name = "Localize" | |
s.version = "1.5.2" | |
s.ios.deployment_target = '8.0' | |
s.source = { :path => "" } |