commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
3b6561a652377fa98918ace200be02f6afb31db7 | add stats to packetloss node | jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge | src/main/kotlin/org/jitsi/nlj/transform/node/PacketLoss.kt | src/main/kotlin/org/jitsi/nlj/transform/node/PacketLoss.kt | /*
* Copyright @ 2018 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | /*
* Copyright @ 2018 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | apache-2.0 | Kotlin |
cfd4bddbb94fde8ba7b51b1152caef333a7962aa | Move onUpdate into a ReadableHandle class as the first step towards combineUpdates in PA (#4952) | PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs | java/arcs/core/storage/api/Handle.kt | java/arcs/core/storage/api/Handle.kt | /*
* Copyright 2020 Google LLC.
*
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
*
* Code distributed by Google as part of this project is also subject to an additional IP rights
* grant found at
* http://polymer.github.io/PATENTS.txt
*/
package arcs.c... | /*
* Copyright 2020 Google LLC.
*
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
*
* Code distributed by Google as part of this project is also subject to an additional IP rights
* grant found at
* http://polymer.github.io/PATENTS.txt
*/
package arcs.c... | bsd-3-clause | Kotlin |
a9cc7e5afc7fa0e756cc2daa3b547c8955c4d091 | update plugin com.gradle.enterprise to v3.11.3 | spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs | settings.gradle.kts | settings.gradle.kts | plugins {
id("com.gradle.enterprise") version "3.11.3"
}
include(":eclipsePlugin")
include(":eclipsePlugin-test")
include(":eclipsePlugin-junit")
include(":spotbugs")
include(":spotbugs-annotations")
include(":spotbugs-ant")
include(":spotbugs-tests")
include(":spotbugsTestCases")
include(":test-harness")
include(":... | plugins {
id("com.gradle.enterprise") version "3.11.2"
}
include(":eclipsePlugin")
include(":eclipsePlugin-test")
include(":eclipsePlugin-junit")
include(":spotbugs")
include(":spotbugs-annotations")
include(":spotbugs-ant")
include(":spotbugs-tests")
include(":spotbugsTestCases")
include(":test-harness")
include(":... | lgpl-2.1 | Kotlin |
22bd9831bd93780579af951a8efa4295b88427dd | Update plugin com.diffplug.spotless to v6.1.2 | domaframework/doma,domaframework/doma | settings.gradle.kts | settings.gradle.kts | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.34.1"
id("com.diffplug.spotless") version "6.1.2"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.34.1"
id("com.diffplug.spotless") version "6.1.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | apache-2.0 | Kotlin |
9e5315a54e3e268aef7f2fd7d63eebfd0ceb8992 | refactor #620 Add test case. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | todo/src/test/java/jp/toastkid/todo/data/paging/SimpleComparatorTest.kt | todo/src/test/java/jp/toastkid/todo/data/paging/SimpleComparatorTest.kt | /*
* Copyright (c) 2022 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
623b8828cafe15580500da2388bfbbda81478847 | Support OpenJDK on tests | intrigus/jtransc,jtransc/jtransc,intrigus/jtransc,jtransc/jtransc,jtransc/jtransc,intrigus/jtransc,intrigus/jtransc,intrigus/jtransc,jtransc/jtransc,jtransc/jtransc,intrigus/jtransc,jtransc/jtransc,jtransc/jtransc,jtransc/jtransc,intrigus/jtransc,intrigus/jtransc,jtransc/jtransc,intrigus/jtransc | jtransc-main/test/HaxeGenSuiteMiscTest.kt | jtransc-main/test/HaxeGenSuiteMiscTest.kt | /*
* Copyright 2016 Carlos Ballesteros Velasco
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | /*
* Copyright 2016 Carlos Ballesteros Velasco
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | apache-2.0 | Kotlin |
67603e5d5b74411e47cb5fe2b26fd6ed5d6cc776 | Remove dependency snapshots -> files | blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn... | subprojects/snapshots/snapshots.gradle.kts | subprojects/snapshots/snapshots.gradle.kts | /*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
aa52cfcc06c3d2f757a8bad6379463d747abd270 | Add ability to retrieve stubs by ID | lapis-mc/minecraft-versioning | src/main/kotlin/com/lapismc/minecraft/versioning/VersionManifest.kt | src/main/kotlin/com/lapismc/minecraft/versioning/VersionManifest.kt | package com.lapismc.minecraft.versioning
/**
* Summarized information about all versions available of the game.
* @param versions Stubs for each version.
* @param latestReleaseId Name of the latest release version.
* @param latestSnapshotId Name of the latest snapshot version.
*/
class VersionManifest(val version... | package com.lapismc.minecraft.versioning
/**
* Summarized information about all versions available of the game.
* @param versions Stubs for each version.
* @param latestReleaseId Name of the latest release version.
* @param latestSnapshotId Name of the latest snapshot version.
*/
class VersionManifest(val version... | mit | Kotlin |
c79566ae1e3c040a5d6e46d09d9ced32a0108957 | use vararg for Flags annotation | noud02/Akatsuki | src/main/kotlin/me/noud02/akatsuki/annotations/Flag.kt | src/main/kotlin/me/noud02/akatsuki/annotations/Flag.kt | /*
* Copyright (c) 2017 Noud Kerver
*
* 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... | /*
* Copyright (c) 2017 Noud Kerver
*
* 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... | mit | Kotlin |
441d30c5e0e3c8897b6375cd84c111233d088aed | Add functions to ClassDetail to check for the presence of values | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp | app/src/main/java/com/satsumasoftware/timetable/framework/ClassDetail.kt | app/src/main/java/com/satsumasoftware/timetable/framework/ClassDetail.kt | package com.satsumasoftware.timetable.framework
import android.content.Context
import android.database.Cursor
import com.satsumasoftware.timetable.db.ClassDetailsSchema
import com.satsumasoftware.timetable.db.util.getClassTimeIds
import java.util.*
class ClassDetail(val id: Int, val classId: Int, val room: String, va... | package com.satsumasoftware.timetable.framework
import android.content.Context
import android.database.Cursor
import com.satsumasoftware.timetable.db.ClassDetailsSchema
import com.satsumasoftware.timetable.db.util.getClassTimeIds
import java.util.*
class ClassDetail(val id: Int, val classId: Int, val room: String, va... | apache-2.0 | Kotlin |
6f502626f2247a8ce14fcda4d16cc0df52eff520 | Put project name in bucket name | blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,grad... | .teamcity/Gradle_Check/configurations/FunctionalTest.kt | .teamcity/Gradle_Check/configurations/FunctionalTest.kt | package configurations
import common.Os
import jetbrains.buildServer.configs.kotlin.v2018_2.AbsoluteId
import model.CIBuildModel
import model.Stage
import model.TestCoverage
import model.TestType
class FunctionalTest(model: CIBuildModel, testCoverage: TestCoverage, subProjects: List<String> = listOf(), stage: Stage, ... | package configurations
import common.Os
import jetbrains.buildServer.configs.kotlin.v2018_2.AbsoluteId
import model.CIBuildModel
import model.Stage
import model.TestCoverage
import model.TestType
class FunctionalTest(model: CIBuildModel, testCoverage: TestCoverage, subProjects: List<String> = listOf(), stage: Stage, ... | apache-2.0 | Kotlin |
75aedb6d38b4e1c4b45ee50a1d60a322abdaacff | Use sortedBy instead of comparatorˆ | squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android | app/src/main/java/net/squanchy/notification/NotificationService.kt | app/src/main/java/net/squanchy/notification/NotificationService.kt | package net.squanchy.notification
import io.reactivex.Observable
import io.reactivex.schedulers.Schedulers
import net.squanchy.schedule.domain.view.Event
import net.squanchy.service.firebase.FirebaseAuthService
import net.squanchy.service.repository.EventRepository
internal class NotificationService(private val authS... | package net.squanchy.notification
import io.reactivex.Observable
import io.reactivex.schedulers.Schedulers
import net.squanchy.schedule.domain.view.Event
import net.squanchy.service.firebase.FirebaseAuthService
import net.squanchy.service.repository.EventRepository
import java.util.Collections
import java.util.Compara... | apache-2.0 | Kotlin |
eca90c36319fac4f30d7f4fef9bc61a38c888f6b | refactor #412 Remove redundant function. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/search/suggestion/Adapter.kt | app/src/main/java/jp/toastkid/yobidashi/search/suggestion/Adapter.kt | package jp.toastkid.yobidashi.search.suggestion
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import jp.to... | package jp.toastkid.yobidashi.search.suggestion
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import jp.to... | epl-1.0 | Kotlin |
7ed52ab06b42080bb0550493e8d4a8b1f90d0da0 | Disable MongoDB autoconfiguration | mix-it/mixit,mixitconf/mixit,mix-it/mixit,mix-it/mixit,mix-it/mixit,mixitconf/mixit,sdeleuze/mixit,sdeleuze/mixit,sdeleuze/mixit,mixitconf/mixit,mixitconf/mixit,mix-it/mixit,sdeleuze/mixit | src/main/kotlin/mixit/Application.kt | src/main/kotlin/mixit/Application.kt | package mixit
import com.mongodb.ConnectionString
import com.samskivert.mustache.Mustache
import mixit.repository.ArticleRepository
import mixit.repository.EventRepository
import mixit.repository.SessionRepository
import mixit.repository.UserRepository
import mixit.support.MixitWebFilter
import mixit.support.run
impor... | package mixit
import com.mongodb.ConnectionString
import com.samskivert.mustache.Mustache
import mixit.repository.ArticleRepository
import mixit.repository.EventRepository
import mixit.repository.SessionRepository
import mixit.repository.UserRepository
import mixit.support.MixitWebFilter
import mixit.support.run
impor... | apache-2.0 | Kotlin |
b2dc71db949bafef2f45692f6a18083f1e823ae4 | Use psi file gist to cache module names for file | intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript | src/main/java/org/purescript/psi/ModuleReference.kt | src/main/java/org/purescript/psi/ModuleReference.kt | package org.purescript.psi
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiManager
import com.intellij.psi.PsiReferenceBase
import com.intellij.psi.search.FilenameIndex
import com.intellij.util.gist.GistManager
import com.intellij.util.io.EnumeratorStringDescriptor
import org.purescript.file.PSFi... | package org.purescript.psi
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiManager
import com.intellij.psi.PsiReferenceBase
import com.intellij.psi.search.FilenameIndex
import com.intellij.psi.search.GlobalSearchScope
import org.purescript.file.PSFile
import org.purescript.file.PSFileType
import ... | bsd-3-clause | Kotlin |
453cd0ea7715d98d94e834d1aa47f9f6a0d5b6e4 | Add type aliases for Kotlin and a simple extension function. | DanilaFe/abacus,DanilaFe/abacus | core/src/main/kotlin/org/nwapw/abacus/number/NumberUtils.kt | core/src/main/kotlin/org/nwapw/abacus/number/NumberUtils.kt | @file:JvmName("NumberUtils")
package org.nwapw.abacus.number
typealias PromotionFunction = java.util.function.Function<NumberInterface, NumberInterface>
typealias PromotionPath = List<PromotionFunction>
typealias NumberClass = Class<NumberInterface>
fun PromotionPath.promote(from: NumberInterface): NumberInterface {
... | mit | Kotlin | |
333c12312ce19595e21da5edd87f99f32c5c57e1 | Add error handling saga printing errors in console | luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders | sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt | sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt | package org.luxons.sevenwonders.ui.redux.sagas
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import org.luxons.sevenwonders.client.SevenWondersClient
import org.luxons.sevenwonders.client.SevenWondersSession
import org.luxons.sevenwonders.ui.redux.RequestChooseName
import org.luxons.sevenwo... | package org.luxons.sevenwonders.ui.redux.sagas
import kotlinx.coroutines.coroutineScope
import org.luxons.sevenwonders.client.SevenWondersClient
import org.luxons.sevenwonders.client.SevenWondersSession
import org.luxons.sevenwonders.ui.redux.RequestChooseName
import org.luxons.sevenwonders.ui.redux.SetCurrentPlayerAc... | mit | Kotlin |
15def6c1ca5f62c68f2017d8b011f2bc82424187 | Add htmlcomponent opacity | AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn | AcornUiJsBackend/src/com/acornui/js/html/JsHtmlComponent.kt | AcornUiJsBackend/src/com/acornui/js/html/JsHtmlComponent.kt | /*
* Copyright 2017 Nicholas Bilyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | /*
* Copyright 2017 Nicholas Bilyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | apache-2.0 | Kotlin |
5fc8f171868c9638ab387414edf0447a77938310 | add Value | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/Value.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/Value.kt | package com.jayrave.falkon
/**
* Extracts the property value based on the passed in [Column]
*/
interface Value<T : Any> {
infix fun <C> of(column: Column<T, C>): C
} | apache-2.0 | Kotlin | |
e7313b320cef2e74c4f9f778025a66760cccd065 | Add sample of object's trait delegation | dodyg/Kotlin101,mewebstudio/Kotlin101 | src/Objects/Delegation.kt | src/Objects/Delegation.kt | package Kotlin101.Objects.Delegation
//This is a neat little feature being able to automatically assign an object to handle any trait
fun main(args : Array<String>) {
var me = BruceWayne(Batman(), RichyRich())
me.inWater()
print("Is awesomely rich? " + me.isAwesomelyRich())
}
trait Superpower {
fun i... | bsd-3-clause | Kotlin | |
4a2a952f8d20343dfe8a4ed9a6b347033e35d535 | Fix typo | kvakil/venus,kvakil/venus,kvakil/venus | src/main/kotlin/venus/riscv/insts/dsl/relocators/PCRelLoRelocator.kt | src/main/kotlin/venus/riscv/insts/dsl/relocators/PCRelLoRelocator.kt | package venus.riscv.insts.dsl.relocators
import venus.riscv.InstructionField
import venus.riscv.MachineCode
object PCRelLoRelocator32 : Relocator32 {
override operator fun invoke(mcode: MachineCode, pc: Int, target: Int) {
mcode[InstructionField.IMM_11_0] = target - (pc - 4)
}
}
val PCRelLoRelocator ... | package venus.riscv.insts.dsl.relocators
import venus.riscv.InstructionField
import venus.riscv.MachineCode
object PCRelLoRelocator32 : Relocator32 {
override operator fun invoke(mcode: MachineCode, pc: Int, target: Int) {
mcode[InstructionField.IMM_11_0] = target - (pc - 4)
}
}
val PCRelLoRelocator ... | mit | Kotlin |
3a24e6dc5cf03fb2e8e2fbff1c62c59823017ea6 | Fix typo in documentation, no logic changes (#1070) | kotlintest/kotlintest,kotlintest/kotlintest,kotlintest/kotlintest,sksamuel/ktest | kotest-core/src/commonMain/kotlin/io/kotest/TestCase.kt | kotest-core/src/commonMain/kotlin/io/kotest/TestCase.kt | package io.kotest
import io.kotest.core.SourceRef
import io.kotest.core.TestCaseConfig
import io.kotest.core.TestContext
import io.kotest.core.sourceRef
/**
* A [TestCase] describes an actual block of code that will be tested.
* It contains a reference back to the [Spec] instance in which it
* is being executed.
... | package io.kotest
import io.kotest.core.SourceRef
import io.kotest.core.TestCaseConfig
import io.kotest.core.TestContext
import io.kotest.core.sourceRef
/**
* A [TestCase] describes an actual block of code that will be tested.
* It contains a reference back to the [Spec] instance in which it
* is being executed.
... | mit | Kotlin |
e1ef6c979a0adee8d507bd836607236402be6013 | Add PerformanceProfiler to Profiler module | ImXico/punk,ImXico/handy-gdx | profiler/src/main/kotlin/cyberpunk/profiler/PerformanceProfiler.kt | profiler/src/main/kotlin/cyberpunk/profiler/PerformanceProfiler.kt | @file:JvmName("PerformanceProfiler")
package cyberpunk.profiler
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.utils.PerformanceCounter
/**
* Profiles the execution time of some block of code and log the results.
* You should reset the counter manually when you're done using it.
* @param operation block of c... | package cyberpunk.profiler
| mit | Kotlin |
1c0214fba59eaa5d4d25369aa1289d6f986faff2 | Rename for clarity | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-core/src/main/kotlin/org/http4k/servlet/servlet.kt | http4k-core/src/main/kotlin/org/http4k/servlet/servlet.kt | package org.http4k.servlet
import org.http4k.core.Headers
import org.http4k.core.HttpHandler
import org.http4k.core.Method
import org.http4k.core.Parameters
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Uri
import java.util.*
import javax.servlet.http.HttpServlet
import javax.se... | package org.http4k.servlet
import org.http4k.core.*
import java.util.*
import javax.servlet.http.HttpServlet
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse
fun HttpHandler.asServlet() = HttpHandlerServlet(this)
class HttpHandlerServlet(private val handler: HttpHandler) : H... | apache-2.0 | Kotlin |
9445f4062cb7e2a091e46e61382a0c5bc7d0b8fd | Add OkHttpClient. | imknown/ImkGithub | ZMain/ImkGithubApp/src/main/java/net/imknown/imkgithub/web/Factory.kt | ZMain/ImkGithubApp/src/main/java/net/imknown/imkgithub/web/Factory.kt | package net.imknown.imkgithub.web
import com.google.gson.Gson
import net.imknown.imkgithub.web.converter.StringConverterFactory
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.... | package net.imknown.imkgithub.web
import com.google.gson.Gson
import net.imknown.imkgithub.web.converter.StringConverterFactory
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
/**
* @author imknown on 8/9/17.
*/
class Factory ... | apache-2.0 | Kotlin |
3da9995f577c758eed7766948df80ed038812c7f | Fix package name | Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines | core/kotlinx-coroutines-core/test/channels/InvokeOnCloseStressTest.kt | core/kotlinx-coroutines-core/test/channels/InvokeOnCloseStressTest.kt | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.experimental.channels
import kotlinx.coroutines.experimental.*
import kotlinx.coroutines.experimental.channels.*
import org.junit.*
import org.junit.Test
import java.util.concurrent... | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package channels
import kotlinx.coroutines.experimental.*
import kotlinx.coroutines.experimental.channels.*
import org.junit.*
import org.junit.Test
import java.util.concurrent.*
import java.util.concurrent.a... | apache-2.0 | Kotlin |
f4bec0194acfb961de8efc45d9a891ef6da3f1b9 | Introduce Project.task<T>(name) extension | blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,gradle/gradle,robinverduijn/gradl... | src/main/kotlin/org/gradle/script/lang/kotlin/ProjectExtensions.kt | src/main/kotlin/org/gradle/script/lang/kotlin/ProjectExtensions.kt | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
737ed61aa018a393ec31eaa6d0b12739da30b514 | Add sugar for `dependencies` and `repositories` | robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle-script-kotlin,gradle/gra... | src/main/kotlin/org/gradle/script/lang/kotlin/ProjectExtensions.kt | src/main/kotlin/org/gradle/script/lang/kotlin/ProjectExtensions.kt | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
95fb38e4f167805ab510779d08fc4650f2e1cad1 | Remove unused escape | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | util/src/main/kotlin/io/sweers/catchup/util/StringExt.kt | util/src/main/kotlin/io/sweers/catchup/util/StringExt.kt | /*
* Copyright (c) 2017 Zac Sweers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (c) 2017 Zac Sweers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
b14975cf3542fafc1d1d39b9d2023e3271d56769 | Implement notification to suggest using Run Dashboard | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/lang-api/src/com/intellij/execution/suggestUsingDashboard.kt | platform/lang-api/src/com/intellij/execution/suggestUsingDashboard.kt | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
@file: JvmName("SuggestUsingRunDashBoardUtil")
package com.intellij.execution
import com.intellij.execution.configurations.ConfigurationType
import com.intellij.execution.dashboa... | apache-2.0 | Kotlin | |
7ae6ea2987e40313f0750e3361babf0a8bc57957 | Fix smoke test dependency | robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gra... | .teamcity/Gradle_Check/configurations/SmokeTests.kt | .teamcity/Gradle_Check/configurations/SmokeTests.kt | package configurations
import jetbrains.buildServer.configs.kotlin.v10.BuildType
import model.CIBuildModel
object SmokeTests : BuildType({
uuid = "${CIBuildModel.projectPrefix}SmokeTests"
extId = uuid
name = "Smoke Tests with 3rd Party Plugins - Java8 Linux"
description = "Smoke tests against third pa... | package configurations
import jetbrains.buildServer.configs.kotlin.v10.BuildType
import model.CIBuildModel
object SmokeTests : BuildType({
uuid = "${CIBuildModel.projectPrefix}SmokeTests"
extId = uuid
name = "Smoke Tests with 3rd Party Plugins - Java8 Linux"
description = "Smoke tests against third pa... | apache-2.0 | Kotlin |
f951ab9e6cde90fcbfbade40df96b23829a97785 | update BitmapShaderDemoView | hewking/HUILibrary,hewking/HUILibrary | app/src/main/java/com/hewking/custom/shader/BitmapShaderDemoView.kt | app/src/main/java/com/hewking/custom/shader/BitmapShaderDemoView.kt | package com.hewking.custom.shader
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.View
import com.hewking.base.L
import com.hewking.custom.R
import com.hewking.custom.util.dp2px
/**
* 项目名称:FlowChat
* 类的描述:
* 创建人员:hewking
* 创建时间:2018/12/12 0012
* 修改人员:... | package com.hewking.custom.shader
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.View
import com.hewking.custom.R
import com.hewking.custom.util.dp2px
/**
* 项目名称:FlowChat
* 类的描述:
* 创建人员:hewking
* 创建时间:2018/12/12 0012
* 修改人员:hewking
* 修改时间:2018/12/12... | mit | Kotlin |
0e0891d8519a839687b2ff2ef571018fa78d62ae | Update to Android-Components 97.0.20211213151530. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* 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/. */
object AndroidComponents {
const val VERSION = "97.0.20211213151530"
}
| /* 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/. */
object AndroidComponents {
const val VERSION = "97.0.20211213143320"
}
| mpl-2.0 | Kotlin |
17e0497f1ff1979b3b5c077e773353a8d7e79525 | add image command type | noud02/Akatsuki | src/main/kotlin/me/noud02/akatsuki/entities/ImageCommand.kt | src/main/kotlin/me/noud02/akatsuki/entities/ImageCommand.kt | package me.noud02.akatsuki.entities
import me.noud02.akatsuki.utils.Http
import me.noud02.akatsuki.utils.I18n
import org.apache.commons.io.IOUtils
import java.io.File
import java.io.FileOutputStream
abstract class ImageCommand : Command() {
abstract fun imageRun(ctx: Context, file: File)
override fun run(ctx... | mit | Kotlin | |
f45e56e4c15912abace7ccf1b16a633a924c7296 | Add code and codeblock tags | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | app/src/main/kotlin/io/sweers/catchup/util/MarkdownDSL.kt | app/src/main/kotlin/io/sweers/catchup/util/MarkdownDSL.kt | package io.sweers.catchup.util
interface Element {
fun render(builder: StringBuilder)
}
class TextElement(val text: String) : Element {
override fun render(builder: StringBuilder) {
builder.append(text)
}
}
abstract class MarkdownElement : Element {
val children = arrayListOf<Element>()
protected fun ... | package io.sweers.catchup.util
interface Element {
fun render(builder: StringBuilder)
}
class TextElement(val text: String) : Element {
override fun render(builder: StringBuilder) {
builder.append(text)
}
}
abstract class MarkdownElement : Element {
val children = arrayListOf<Element>()
protected fun ... | apache-2.0 | Kotlin |
7134d0e9c95cb1fffc41521f24f592337b42d9ab | fix missing status assignment | jitsi/jibri,jitsi/jibri,jitsi/jibri | src/main/kotlin/org/jitsi/jibri/api/xmpp/JibriIqHelper.kt | src/main/kotlin/org/jitsi/jibri/api/xmpp/JibriIqHelper.kt | /*
* Copyright @ 2018 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | /*
* Copyright @ 2018 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | apache-2.0 | Kotlin |
490c75177369d68da396f31656964602b8b0937e | Fix @UseSerializers argument type and clarify some docs | Kotlin/kotlinx.serialization,Kotlin/kotlinx.serialization | runtime/commonMain/src/kotlinx/serialization/Annotations.kt | runtime/commonMain/src/kotlinx/serialization/Annotations.kt | /*
* Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization
import kotlin.reflect.KClass
/**
* Instructs to use specific serializer for class, property or type argument.
*
* If argument is omitted, plugin will generate default impleme... | /*
* Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization
import kotlin.reflect.KClass
/**
* Instructs to use specific serializer for class, property or type argument.
*
* If argument is omitted, plugin will generate default impleme... | apache-2.0 | Kotlin |
2777dda934884c73411a0eba13793c3e12930167 | Edit contentScrollingWithAppBarLParams | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | viewdsl-design/src/main/java/splitties/viewdsl/design/CoordinatorLayout.kt | viewdsl-design/src/main/java/splitties/viewdsl/design/CoordinatorLayout.kt | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | apache-2.0 | Kotlin |
56c3b8ceda5fd8780df2634ee3af4620715dda84 | fix gitlab pipeline for unit tests | web3j/quorum,web3j/quorum,web3j/quorum | src/test/kotlin/org/web3j/quorum/core/ConstellationEndpointsTest.kt | src/test/kotlin/org/web3j/quorum/core/ConstellationEndpointsTest.kt | package org.web3j.quorum.core
import org.junit.Test
import org.junit.Assert.assertTrue
import org.assertj.core.api.Assertions.*
import org.junit.Ignore
import org.web3j.quorum.*
@Ignore
class ConstellationEndpointsTest {
val from = TM1_PUBLIC_KEY
val to = TM2_PUBLIC_KEY
val payload = PAYLOAD
val key ... | package org.web3j.quorum.core
import org.junit.Test
import org.junit.Assert.assertTrue
import org.assertj.core.api.Assertions.*
import org.web3j.quorum.*
class ConstellationEndpointsTest {
val from = TM1_PUBLIC_KEY
val to = TM2_PUBLIC_KEY
val payload = PAYLOAD
val key = "P2yURduJk7w6pHArUlOlAbi7JNlKW... | apache-2.0 | Kotlin |
29a98377ffe6afa7e62b8910f1d397efc44944cb | Remove deprecation warning by adding class as argument to getIcon | intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript | src/main/java/net/kenro/ji/jin/purescript/icons/PSIcons1.kt | src/main/java/net/kenro/ji/jin/purescript/icons/PSIcons1.kt | package net.kenro.ji.jin.purescript.icons
import com.intellij.openapi.util.IconLoader
interface PSIcons {
companion object {
val FILE = IconLoader.getIcon("/icons/pure.png", PSIcons::class.java)
}
} | package net.kenro.ji.jin.purescript.icons
import com.intellij.openapi.util.IconLoader
interface PSIcons {
companion object {
val FILE = IconLoader.getIcon("/icons/pure.png")
}
} | bsd-3-clause | Kotlin |
8fa0bcd196842a56c023a9bfc13ad6be8a3f15a1 | fix Build error | chrhsmt/Sishen,chrhsmt/Sishen | app/src/main/java/com/chrhsmt/sisheng/MainApplication.kt | app/src/main/java/com/chrhsmt/sisheng/MainApplication.kt | package com.chrhsmt.sisheng
import android.app.Application
/**
* Created by chihiro on 2017/11/03.
*/
class MainApplication : Application() {
override fun onCreate() {
super.onCreate()
//LeakCanary.install(this);
}
} | package com.chrhsmt.sisheng
import android.app.Application
import com.squareup.leakcanary.LeakCanary
/**
* Created by chihiro on 2017/11/03.
*/
class MainApplication : Application() {
override fun onCreate() {
super.onCreate()
LeakCanary.install(this);
}
} | mit | Kotlin |
d34470fafa82a4723965d8c78810a96be26cdb9b | add setHeight extension | StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/ui/util/ViewExtensions.kt | app/src/main/java/org/stepic/droid/ui/util/ViewExtensions.kt | package org.stepic.droid.ui.util
import android.os.Build
import android.view.View
import android.view.ViewTreeObserver
fun ViewTreeObserver.removeGlobalLayoutListener(listener: ViewTreeObserver.OnGlobalLayoutListener) {
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
removeOnGlo... | package org.stepic.droid.ui.util
import android.os.Build
import android.view.View
import android.view.ViewTreeObserver
fun ViewTreeObserver.removeGlobalLayoutListener(listener: ViewTreeObserver.OnGlobalLayoutListener) {
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
removeOnGlo... | apache-2.0 | Kotlin |
674966df6b437cd496ef382482ff5e5622924af9 | remove useless import | JetBrains/kotlin-native,jiaminglu/kotlin-native,olonho/carkot,JuliusKunze/kotlin-native,olonho/carkot,JuliusKunze/kotlin-native,JetBrains/kotlin-native,olonho/carkot,wiltonlazary/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,olonho/carkot,JuliusKunze/kot... | car_srv/kotlinSrv/src/net/server/handlers/AbstractHandler.kt | car_srv/kotlinSrv/src/net/server/handlers/AbstractHandler.kt | package net.server.handlers
/**
* Created by user on 7/27/16.
*/
abstract class AbstractHandler {
fun execute(data: List<Byte>, response: dynamic) {
getBytesResponse(data.toByteArray(), { resultBytes ->
val resultBuffer = js("new Buffer(resultBytes)")
response.write(resultBuffer)... | package net.server.handlers
import trimBuffer
/**
* Created by user on 7/27/16.
*/
abstract class AbstractHandler {
fun execute(data: List<Byte>, response: dynamic) {
getBytesResponse(data.toByteArray(), { resultBytes ->
val resultBuffer = js("new Buffer(resultBytes)")
response.... | apache-2.0 | Kotlin |
10f77e3dbff3da879f3b2acdcd3b4cff4c86b0ec | Make ComputeBatch expose its members | emanuelpalm/palm-compute,emanuelpalm/palm-compute,emanuelpalm/palm-compute,emanuelpalm/palm-compute | core/src/main/java/se/ltu/emapal/compute/ComputeBatch.kt | core/src/main/java/se/ltu/emapal/compute/ComputeBatch.kt | package se.ltu.emapal.compute
/**
* Some arbitrary byte array to be processed by some identified lambda function.
*
* @param lambdaId Identifies lambda responsible for processing batch.
* @param batchId Batch identifier unique within the application.
* @param data Arbitrary byte array to process.
*/
class Comput... | package se.ltu.emapal.compute
/**
* Some arbitrary byte array to be processed by some identified lambda function.
*
* @param lambdaId Identifies lambda responsible for processing batch.
* @param batchId Batch identifier unique within the application.
* @param data Arbitrary byte array to process.
*/
class Comput... | mit | Kotlin |
760a1aaf47213116a6ac97e7a2a6357fb7000e23 | Fix CIOEngineConfig API level | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-client/ktor-client-cio/src/io/ktor/client/engine/cio/CIOEngineConfig.kt | ktor-client/ktor-client-cio/src/io/ktor/client/engine/cio/CIOEngineConfig.kt | package io.ktor.client.engine.cio
import io.ktor.client.engine.*
import io.ktor.network.tls.*
import java.security.*
import javax.net.ssl.*
private val DEFAULT_RANDOM: String =
SecureRandom().algorithm.takeIf { it != "unknown" } ?: "NativePRNGNonBlocking"
class CIOEngineConfig : HttpClientEngineConfig() {
va... | package io.ktor.client.engine.cio
import io.ktor.client.engine.*
import io.ktor.network.tls.*
import java.security.*
import javax.net.ssl.*
private val DEFAULT_RANDOM: String =
SecureRandom.getInstanceStrong().algorithm.takeIf { it != "unknown" } ?: "NativePRNGNonBlocking"
class CIOEngineConfig : HttpClientEngin... | apache-2.0 | Kotlin |
b6e4a177d347f2d2b49f25a5e7b7241c534dcdcf | Fix a bug about using Collections' extension | csumissu/WeatherForecast | app/src/main/java/csumissu/weatherforecast/extensions/DbEntitiesExtensions.kt | app/src/main/java/csumissu/weatherforecast/extensions/DbEntitiesExtensions.kt | package csumissu.weatherforecast.extensions
import csumissu.weatherforecast.model.*
import csumissu.weatherforecast.model.local.*
import io.realm.RealmList
/**
* @author yxsun
* @since 21/07/2017
*/
fun Temperature.toEntity(): TemperatureEntity {
return TemperatureEntity(this.day, this.min, this.max)
}
fun Te... | package csumissu.weatherforecast.extensions
import csumissu.weatherforecast.model.*
import csumissu.weatherforecast.model.local.*
import io.realm.RealmList
/**
* @author yxsun
* @since 21/07/2017
*/
fun Temperature.toEntity(): TemperatureEntity {
return TemperatureEntity(this.day, this.min, this.max)
}
fun Te... | mit | Kotlin |
cf6b38e0438a9aaf94f643c17333e213cc02548a | Fix warning about config version being wrong | moltendorf/IntelliDoors | src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt | src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt | package net.moltendorf.bukkit.intellidoors.settings
import net.moltendorf.bukkit.intellidoors.log
private const val SETTINGS_VERSION = 5
fun upgradeSettings(settings: GlobalSettings) {
if (settings.version < SETTINGS_VERSION) {
var versions = 0
for (i in settings.version + 1..SETTINGS_VERSION) {
upg... | package net.moltendorf.bukkit.intellidoors.settings
import net.moltendorf.bukkit.intellidoors.log
private const val SETTINGS_VERSION = 5
fun upgradeSettings(settings: GlobalSettings) {
var versions = 0
for (i in settings.version..SETTINGS_VERSION) {
upgrade[i]?.invoke(settings) ?: continue
++versions
... | mit | Kotlin |
543caf7313cbcd2b37b565f0a87d3478b8501f4e | Remove failing test | Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA | test/nl/hannahsten/texifyidea/inspections/latex/UnescapedHashInspectionTest.kt | test/nl/hannahsten/texifyidea/inspections/latex/UnescapedHashInspectionTest.kt | package nl.hannahsten.texifyidea.inspections.latex
import nl.hannahsten.texifyidea.inspections.TexifyInspectionTriggerTestBase
class UnescapedHashInspectionTest : TexifyInspectionTriggerTestBase(LatexEscapeHashOutsideCommandInspection()) {
override val triggers: List<String> = listOf(
"""#""",
... | package nl.hannahsten.texifyidea.inspections.latex
import nl.hannahsten.texifyidea.inspections.TexifyInspectionTriggerTestBase
class UnescapedHashInspectionTest : TexifyInspectionTriggerTestBase(LatexEscapeHashOutsideCommandInspection()) {
override val triggers: List<String> = listOf(
"""#""",
... | mit | Kotlin |
ed72af9654e34b869d68ee6b92a619daedb340b3 | update application base class | noboru-i/SlideViewer,noboru-i/SlideViewer,noboru-i/SlideViewer | app/src/main/java/hm/orz/chaos114/android/slideviewer/SlideViewerApplication.kt | app/src/main/java/hm/orz/chaos114/android/slideviewer/SlideViewerApplication.kt | package hm.orz.chaos114.android.slideviewer
import android.app.Activity
import com.google.android.play.core.splitcompat.SplitCompatApplication
import com.squareup.leakcanary.LeakCanary
import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector
import dagger.android.HasActivityInjector
impor... | package hm.orz.chaos114.android.slideviewer
import android.app.Activity
import android.app.Application
import android.content.Context
import android.support.multidex.MultiDex
import com.squareup.leakcanary.LeakCanary
import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector
import dagger.a... | mit | Kotlin |
ad47c38221309b5720376b80f84645da2b070696 | Break out common rule | bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin | buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/StaticCodeAnalysisPlugin.kt | buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/StaticCodeAnalysisPlugin.kt | package com.bmuschko.gradle.docker
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.quality.CodeNarc
import org.gradle.api.plugins.quality.CodeNarcExtension
import org.gradle.api.plugins.quality.CodeNarcPlugin
import org.gradle.api.tasks.testing.Test
import org.gradle.kotlin.dsl... | package com.bmuschko.gradle.docker
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.quality.CodeNarc
import org.gradle.api.plugins.quality.CodeNarcExtension
import org.gradle.api.plugins.quality.CodeNarcPlugin
import org.gradle.kotlin.dsl.*
class StaticCodeAnalysisPlugin : Plug... | apache-2.0 | Kotlin |
179a8314b3ccd7798104b87aac28c5a79e626f3b | Add BacktickAssertion Test for should throw | MarkusAmshove/Kluent,MarkusAmshove/Kluent | src/test/kotlin/org/amshove/kluent/tests/backtickassertions/ShouldThrowTests.kt | src/test/kotlin/org/amshove/kluent/tests/backtickassertions/ShouldThrowTests.kt | package org.amshove.kluent.tests.backtickassertions
import org.amshove.kluent.`should throw`
import org.jetbrains.spek.api.Spek
import java.util.*
import kotlin.test.assertFails
class ShouldThrowTests : Spek({
given("the should throw method") {
on("expecting the thrown exception") {
... | package org.amshove.kluent.tests.backtickassertions
import org.amshove.kluent.`should throw`
import org.jetbrains.spek.api.Spek
import kotlin.test.assertFails
class ShouldThrowTests : Spek({
given("the should throw method") {
on("expecting the thrown exception") {
it("should pass") {
... | mit | Kotlin |
09c2c055c99e0485f88df0cd4c6709ea73dcba8c | stop command now also destroys the music player | noud02/Akatsuki | src/main/kotlin/me/noud02/akatsuki/commands/Stop.kt | src/main/kotlin/me/noud02/akatsuki/commands/Stop.kt | package me.noud02.akatsuki.commands
import me.noud02.akatsuki.annotations.Load
import me.noud02.akatsuki.annotations.Perm
import me.noud02.akatsuki.entities.Command
import me.noud02.akatsuki.entities.Context
import me.noud02.akatsuki.music.MusicManager
import me.noud02.akatsuki.utils.I18n
import net.dv8tion.jda.core.P... | package me.noud02.akatsuki.commands
import me.noud02.akatsuki.annotations.Load
import me.noud02.akatsuki.annotations.Perm
import me.noud02.akatsuki.entities.Command
import me.noud02.akatsuki.entities.Context
import me.noud02.akatsuki.music.MusicManager
import me.noud02.akatsuki.utils.I18n
import net.dv8tion.jda.core.P... | mit | Kotlin |
086591e3ac49731fb5c8db05fcf952f70cb7e96c | use kotlin predicate like function instead of java predicate | lindar-open/acolyte,lindar-open/acolyte | src/main/kotlin/lindar/acolyte/extensions/collectionext.kt | src/main/kotlin/lindar/acolyte/extensions/collectionext.kt | package lindar.acolyte.extensions
import java.util.*
import java.util.function.Predicate
import kotlin.collections.ArrayList
fun <T> MutableCollection<T>.removeAndRetrieve(filter: (T) -> Boolean): List<T> {
Objects.requireNonNull(filter)
val removedItems = ArrayList<T>()
val each = this.iterator()
wh... | package lindar.acolyte.extensions
import java.util.*
import java.util.function.Predicate
import kotlin.collections.ArrayList
fun <T> MutableCollection<T>.removeAndRetrieve(filter: Predicate<T>): List<T> {
Objects.requireNonNull(filter)
val removedItems = ArrayList<T>()
val each = this.iterator()
whil... | apache-2.0 | Kotlin |
167b27cab3b68f4388288682f32c2cba081eba53 | enhance RKeyboard | WindSekirun/RichUtilsKt,WindSekirun/RichUtilsKt | RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/utils/RKeyboard.kt | RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/utils/RKeyboard.kt | @file:JvmName("RichUtils")
@file:JvmMultifileClass
package pyxis.uzuki.live.richutilskt.utils
import android.app.Activity
import android.app.Dialog
import android.content.Context
import android.view.inputmethod.InputMethodManager
/**
* hide keyboard
*/
fun Activity.hideKeyboard() {
this.currentFocus?.let {
... | @file:JvmName("RichUtils")
@file:JvmMultifileClass
package pyxis.uzuki.live.richutilskt.utils
import android.app.Activity
import android.app.Dialog
import android.content.Context
import android.view.inputmethod.InputMethodManager
/**
* hide keyboard
*/
fun Activity.hideKeyboard() {
val view = this.currentFocus... | apache-2.0 | Kotlin |
5bf6d174fc730ad61769d1fedb060d4d357bd88a | Add logging to ExtendedCodeErrorHandler | AcapellaSoft/Aconite,AcapellaSoft/Aconite | aconite-server/src/io/aconite/server/errors/ExtendedCodeErrorHandler.kt | aconite-server/src/io/aconite/server/errors/ExtendedCodeErrorHandler.kt | package io.aconite.server.errors
import com.google.gson.Gson
import io.aconite.*
import io.aconite.server.*
import org.slf4j.LoggerFactory
import java.util.concurrent.ConcurrentHashMap
import kotlin.reflect.KClass
import kotlin.reflect.full.findAnnotation
import kotlin.reflect.full.isSubclassOf
@Retention(AnnotationR... | package io.aconite.server.errors
import com.google.gson.Gson
import io.aconite.*
import io.aconite.server.*
import java.util.concurrent.ConcurrentHashMap
import kotlin.reflect.KClass
import kotlin.reflect.full.findAnnotation
import kotlin.reflect.full.isSubclassOf
@Retention(AnnotationRetention.RUNTIME)
@Target(Annot... | mit | Kotlin |
ab33c9f20a10c6bb67d03eb2aed7a4d2688671cb | Remove unused import | AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn | acornui-core/src/commonMain/kotlin/com/acornui/cursor/RollOverCursor.kt | acornui-core/src/commonMain/kotlin/com/acornui/cursor/RollOverCursor.kt | /*
* Copyright 2019 Poly Forest, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | /*
* Copyright 2019 Poly Forest, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | apache-2.0 | Kotlin |
e9fe45425911731a01075e2c189035ab9393398a | Bump mockk from 1.10.4 to 1.10.5 (#3404) | arturbosch/detekt,arturbosch/detekt,arturbosch/detekt | detekt-bom/build.gradle.kts | detekt-bom/build.gradle.kts | plugins {
`java-platform`
}
dependencies {
val version = object {
val spek = "2.0.15"
val ktlint = "0.40.0"
}
constraints {
api("org.assertj:assertj-core:3.18.1")
api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}")
api("org.spekframework.spek2:spek-runne... | plugins {
`java-platform`
}
dependencies {
val version = object {
val spek = "2.0.15"
val ktlint = "0.40.0"
}
constraints {
api("org.assertj:assertj-core:3.18.1")
api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}")
api("org.spekframework.spek2:spek-runne... | apache-2.0 | Kotlin |
4e825062bea34a32faee4bf9d81ea8188acf5e38 | handle <null> pluginID | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | plugins/devkit/devkit-core/src/dom/ide/PluginDescriptorEditorTabTitleProvider.kt | plugins/devkit/devkit-core/src/dom/ide/PluginDescriptorEditorTabTitleProvider.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.devkit.dom.ide
import com.intellij.ide.plugins.PluginManagerCore
import com.intellij.openapi.fileEditor.impl.EditorTabTitleProvider
import com.intellij... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.devkit.dom.ide
import com.intellij.ide.plugins.PluginManagerCore
import com.intellij.openapi.fileEditor.impl.EditorTabTitleProvider
import com.intellij... | apache-2.0 | Kotlin |
c0d89205606ab189d1ac27c31bd1a6dfb46e2d95 | Implement StartUpTest. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/main/StartUpTest.kt | app/src/test/java/jp/toastkid/yobidashi/main/StartUpTest.kt | package jp.toastkid.yobidashi.main
import jp.toastkid.yobidashi.R
import org.junit.Assert.assertEquals
import org.junit.Test
/**
* [StartUp]'s test cases.
*
* @author toastkidjp
*/
class StartUpTest {
/**
* Check of [StartUp#find].
*/
@Test
fun getTitleId() {
assertEquals(StartUp.BR... | epl-1.0 | Kotlin | |
dd07573c877b17451561c2439c21f9586ded596f | Reduce default amount of concurrency | chrisbanes/tivi,chrisbanes/tivi | base/src/main/java/app/tivi/extensions/CoroutineExtensions.kt | base/src/main/java/app/tivi/extensions/CoroutineExtensions.kt | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 | Kotlin |
1492e38f6550f311b46d0373daa7e5e108481bb3 | tweak to method ref | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-core/src/main/kotlin/org/http4k/lens/lensFailure.kt | http4k-core/src/main/kotlin/org/http4k/lens/lensFailure.kt | package org.http4k.lens
data class LensFailure(val failures: List<Failure>, override val cause: Exception? = null, val target: Any? = null) : Exception(failures.joinToString { it.toString() }, cause) {
constructor(vararg failures: Failure, cause: Exception? = null, target: Any? = null) : this(failures.asList(), c... | package org.http4k.lens
data class LensFailure(val failures: List<Failure>, override val cause: Exception? = null, val target: Any? = null) : Exception(failures.joinToString { it.toString() }, cause) {
constructor(vararg failures: Failure, cause: Exception? = null, target: Any? = null) : this(failures.asList(), c... | apache-2.0 | Kotlin |
4162c9cabe408b1d68f10605dcf62700be13a6a7 | add apple silicon (m1) simulator targets (#1028) | square/okio,square/okio,square/okio | build-support/src/main/kotlin/platforms.kt | build-support/src/main/kotlin/platforms.kt | import org.gradle.api.NamedDomainObjectContainer
import org.gradle.kotlin.dsl.get
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
fun KotlinMultiplatformExtension.configureOrCreateNativePlatforms() {
iosX64()
iosArm64()
iosSimulatorArm... | import org.gradle.api.NamedDomainObjectContainer
import org.gradle.kotlin.dsl.get
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
fun KotlinMultiplatformExtension.configureOrCreateNativePlatforms() {
iosX64()
iosArm64()
tvosX64()
tvo... | apache-2.0 | Kotlin |
6365b333978490bef402e7e2377db4271c6015db | Fix LoremIpsum provider with 1.3.70 | AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/andro... | ui/ui-tooling/src/main/java/androidx/ui/tooling/preview/datasource/LoremIpsum.kt | ui/ui-tooling/src/main/java/androidx/ui/tooling/preview/datasource/LoremIpsum.kt | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
3ac500e0c626364196dd668bc8f40eb5154a1fa8 | Simplify code | Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs | src/main/kotlin/com/emberjs/project/EmberProjectComponent.kt | src/main/kotlin/com/emberjs/project/EmberProjectComponent.kt | package com.emberjs.project
import com.emberjs.utils.visitChildrenRecursively
import com.intellij.lang.javascript.dialects.JSLanguageLevel
import com.intellij.lang.javascript.linter.jshint.JSHintConfiguration
import com.intellij.lang.javascript.linter.jshint.JSHintState
import com.intellij.lang.javascript.settings.JSR... | package com.emberjs.project
import com.emberjs.utils.visitChildrenRecursively
import com.intellij.lang.javascript.dialects.JSLanguageLevel
import com.intellij.lang.javascript.linter.jshint.JSHintConfiguration
import com.intellij.lang.javascript.linter.jshint.JSHintState
import com.intellij.lang.javascript.settings.JSR... | apache-2.0 | Kotlin |
4c7ef75e29ac86016b170b16ddae77a8409c7e4e | Add util function to eval | duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot | src/main/kotlin/ml/duncte123/skybot/objects/EvalFunctions.kt | src/main/kotlin/ml/duncte123/skybot/objects/EvalFunctions.kt | /*
* Skybot, a multipurpose discord bot
* Copyright (C) 2017 - 2018 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32"
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free S... | /*
* Skybot, a multipurpose discord bot
* Copyright (C) 2017 - 2018 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32"
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free S... | agpl-3.0 | Kotlin |
cd419cf199ae52aab9e44b9e6943cea897e014be | test locales | contentful/contentful-management.java,contentful/contentful-management.java,contentful/contentful-management.java | src/test/kotlin/com/contentful/java/cma/e2e/LocalesE2E.kt | src/test/kotlin/com/contentful/java/cma/e2e/LocalesE2E.kt | /*
* Copyright (C) 2018 Contentful GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | apache-2.0 | Kotlin | |
ed5889bfd40efe5b18b4973a1a0413e869dd6453 | Bump version | SneakySpook/Tickompiler,chrislo27/Tickompiler | src/main/kotlin/rhmodding/tickompiler/Tickompiler.kt | src/main/kotlin/rhmodding/tickompiler/Tickompiler.kt | package rhmodding.tickompiler
import picocli.CommandLine
import rhmodding.tickompiler.cli.*
object Tickompiler {
const val VERSION: String = "v1.8.0"
const val GITHUB: String = "https://github.com/SneakySpook/Tickompiler"
fun createAndParseCommandLine(runnable: Runnable, vararg args: String): CommandLi... | package rhmodding.tickompiler
import picocli.CommandLine
import rhmodding.tickompiler.cli.*
object Tickompiler {
const val VERSION: String = "v1.8.0-DEVELOPMENT"
const val GITHUB: String = "https://github.com/SneakySpook/Tickompiler"
fun createAndParseCommandLine(runnable: Runnable, vararg args: String... | mit | Kotlin |
cf8df7cffc86de73a395c4b378f38f83ca8fdcea | edit scratchpad | konrad-jamrozik/utilities | src/test/kotlin/com/konradjamrozik/KotlinScratchpadTest.kt | src/test/kotlin/com/konradjamrozik/KotlinScratchpadTest.kt | // Author: Konrad Jamrozik, github.com/konrad-jamrozik
package com.konradjamrozik
import org.junit.jupiter.api.Test
import java.nio.file.Paths
internal class KotlinScratchpadTest {
@Test
fun MainTest() {
val dir = Paths.get("""""")
//dir.replaceTextInAllFiles("a","b")
}
}
| // Author: Konrad Jamrozik, github.com/konrad-jamrozik
package com.konradjamrozik
import org.junit.jupiter.api.Test
internal class KotlinScratchpadTest {
@Test
fun MainTest() {
}
}
| mit | Kotlin |
18bfa2b627ee573936b2e43f7d3e2dc8c1ebba98 | test EtcdClientTest | dowenliu-xyz/ketcd,dowenliu-xyz/ketcd | src/test/kotlin/xyz/dowenliu/ketcd/client/EtcdClientTest.kt | src/test/kotlin/xyz/dowenliu/ketcd/client/EtcdClientTest.kt | package xyz.dowenliu.ketcd.client
import org.testng.annotations.Test
import org.testng.asserts.Assertion
import xyz.dowenliu.ketcd.Endpoint
import xyz.dowenliu.ketcd.endpoints
/**
* create at 2017/4/14
* @author liufl
* @since 0.1.0
*/
class EtcdClientTest {
private val assertion = Assertion()
private val... | package xyz.dowenliu.ketcd.client
import org.testng.annotations.Test
import org.testng.asserts.Assertion
import xyz.dowenliu.ketcd.Endpoint
import xyz.dowenliu.ketcd.endpoints
/**
* create at 2017/4/14
* @author liufl
* @since 0.1.0
*/
class EtcdClientTest {
private val assertion = Assertion()
@Test
... | apache-2.0 | Kotlin |
9b80021da8f573ae30570d214bc65984b1e09122 | Fix KDoc for VOKPlugin which mentions old package | mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin | vok-framework/src/main/kotlin/eu/vaadinonkotlin/VOKPlugin.kt | vok-framework/src/main/kotlin/eu/vaadinonkotlin/VOKPlugin.kt | package eu.vaadinonkotlin
/**
* Implement this interface to be invoked from [VaadinOnKotlin.init] and [VaadinOnKotlin.destroy]
* methods. The plugins are initialized in random order.
*
* VOK uses [java.util.ServiceLoader] to discover instances of this interface. To register, just create a
* file named `META-INF/s... | package eu.vaadinonkotlin
/**
* Implement this interface to be invoked from [VaadinOnKotlin.init] and [VaadinOnKotlin.destroy]
* methods. The plugins are initialized in random order.
*
* VOK uses [java.util.ServiceLoader] to discover instances of this interface. To register, just create a
* file named `META-INF/s... | mit | Kotlin |
69887e4046c59ab3ecea1f06066f69569734b25e | Clean up after dagger introduction | nickbutcher/plaid,nickbutcher/plaid,nickbutcher/plaid,nickbutcher/plaid | core/src/main/java/io/plaidapp/core/dagger/dribbble/DribbbleDataModule.kt | core/src/main/java/io/plaidapp/core/dagger/dribbble/DribbbleDataModule.kt | /*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 | Kotlin |
c447022092e1f6a52aa244b30466be339336edf0 | Disable app cache WebView (is a deprecated web API and is being removed in Android 13) | CarlosEsco/tachiyomi | app/src/main/java/eu/kanade/tachiyomi/util/system/WebViewUtil.kt | app/src/main/java/eu/kanade/tachiyomi/util/system/WebViewUtil.kt | package eu.kanade.tachiyomi.util.system
import android.annotation.SuppressLint
import android.content.Context
import android.content.pm.PackageManager
import android.webkit.CookieManager
import android.webkit.WebSettings
import android.webkit.WebView
import logcat.LogPriority
object WebViewUtil {
const val REQUES... | package eu.kanade.tachiyomi.util.system
import android.annotation.SuppressLint
import android.content.Context
import android.content.pm.PackageManager
import android.webkit.CookieManager
import android.webkit.WebSettings
import android.webkit.WebView
import logcat.LogPriority
object WebViewUtil {
const val REQUES... | apache-2.0 | Kotlin |
0fd69f8e52c685718194b8763bc379bccccf63c6 | Disable purchase flow testing flag | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt | app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt | package org.stepic.droid.configuration
object RemoteConfig {
const val PREFIX = "remote_config_"
const val MIN_DELAY_RATE_DIALOG_SEC = "min_delay_rate_dialog_sec"
const val SHOW_STREAK_DIALOG_AFTER_LOGIN = "show_streak_dialog_after_login"
const val ADAPTIVE_COURSES = "adaptive_courses_android"
con... | package org.stepic.droid.configuration
object RemoteConfig {
const val PREFIX = "remote_config_"
const val MIN_DELAY_RATE_DIALOG_SEC = "min_delay_rate_dialog_sec"
const val SHOW_STREAK_DIALOG_AFTER_LOGIN = "show_streak_dialog_after_login"
const val ADAPTIVE_COURSES = "adaptive_courses_android"
con... | apache-2.0 | Kotlin |
30d89c0ccd15cf083cd0d6a31d2284293bfcf793 | refactor #489 Safe delete 'onClick'. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/tab/tab_list/TabListClearDialogFragment.kt | app/src/main/java/jp/toastkid/yobidashi/tab/tab_list/TabListClearDialogFragment.kt | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
62306389718abc3d4b1cf25fa3937600e483caff | load default libraries only when no initial library is given | tmarsteel/kotlin-prolog,tmarsteel/kotlin-prolog | core/src/main/kotlin/com/github/prologdb/runtime/knowledge/DefaultKnowledgeBase.kt | core/src/main/kotlin/com/github/prologdb/runtime/knowledge/DefaultKnowledgeBase.kt | package com.github.prologdb.runtime.knowledge
import com.github.prologdb.runtime.RandomVariableScope
import com.github.prologdb.runtime.VariableMapping
import com.github.prologdb.runtime.builtin.EqualityLibrary
import com.github.prologdb.runtime.builtin.MathLibrary
import com.github.prologdb.runtime.builtin.StringsLib... | package com.github.prologdb.runtime.knowledge
import com.github.prologdb.runtime.RandomVariableScope
import com.github.prologdb.runtime.VariableMapping
import com.github.prologdb.runtime.builtin.EqualityLibrary
import com.github.prologdb.runtime.builtin.MathLibrary
import com.github.prologdb.runtime.builtin.StringsLib... | mit | Kotlin |
f75fdfd08fd3fe70cef417824910e604dbd454f9 | update Contexts.kt | fengzhizi715/SAF-Kotlin-Utils,fengzhizi715/SAF-Kotlin-Utils | saf-kotlin-ext/src/main/java/com/safframework/ext/Contexts.kt | saf-kotlin-ext/src/main/java/com/safframework/ext/Contexts.kt | package com.safframework.ext
import android.content.Context
import android.content.pm.PackageManager
import android.support.annotation.ColorRes
import android.support.annotation.DimenRes
import android.support.annotation.LayoutRes
import android.support.annotation.StringRes
import android.view.LayoutInflater
import an... | package com.safframework.ext
import android.content.Context
import android.content.pm.PackageManager
import android.support.annotation.ColorRes
import android.support.annotation.LayoutRes
import android.support.annotation.StringRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGro... | apache-2.0 | Kotlin |
3f09112912e4b418bea18a4709fec03587393dda | Fix score board deserialization | luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders | sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt | sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt | package org.luxons.sevenwonders.model.score
import kotlinx.serialization.Serializable
@Serializable
data class ScoreBoard(val scores: List<PlayerScore>) {
@OptIn(ExperimentalStdlibApi::class)
val ranks: List<Int>
get() = buildList {
var r = 1
add(1)
for (i in 1..sc... | package org.luxons.sevenwonders.model.score
import kotlinx.serialization.Serializable
@Serializable
class ScoreBoard(val scores: List<PlayerScore>) {
@OptIn(ExperimentalStdlibApi::class)
val ranks = buildList {
var r = 1
add(1)
for (i in 1..scores.lastIndex) {
if (scores[i... | mit | Kotlin |
a19aa278ce8051c8ad820a14ccf711a02f6a4056 | fix strange UI | moko256/twicalico,moko256/twicalico | app/src/main/java/com/github/moko256/twitlatte/intent/IntentAppExcluder.kt | app/src/main/java/com/github/moko256/twitlatte/intent/IntentAppExcluder.kt | /*
* Copyright 2015-2019 The twitlatte authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2015-2019 The twitlatte authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 | Kotlin |
6fa436f94d16e327812d1ae06ccee091e5633c0e | Fix CustomTakePicture activityResult contract | google/modernstorage,google/modernstorage | media/src/main/java/com/google/modernstorage/media/CustomActivityResultContracts.kt | media/src/main/java/com/google/modernstorage/media/CustomActivityResultContracts.kt | package com.google.modernstorage.media
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.MediaStore
import androidx.activity.result.contract.ActivityResultContract
class CustomTakePicture : ActivityResultContract<Uri, Boolean>() {
... | package com.google.modernstorage.media
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.MediaStore
import androidx.activity.result.contract.ActivityResultContract
class CustomTakePicture : ActivityResultContract<Uri, Boolean>() {
... | apache-2.0 | Kotlin |
fadb8a16a2fd2aa8362d4605693b70e1b501d5f8 | Use file parameters in cp example | ajalt/clikt,ajalt/clikt | samples/cp/src/main/kotlin/com/github/ajalt/clikt/samples/cp/main.kt | samples/cp/src/main/kotlin/com/github/ajalt/clikt/samples/cp/main.kt | package com.github.ajalt.clikt.samples.cp
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.output.TermUi
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.parameters.arguments.multiple
import com.github.ajalt.clikt.parameters.options.flag
import com.... | package com.github.ajalt.clikt.samples.cp
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.output.TermUi
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.parameters.arguments.multiple
import com.github.ajalt.clikt.parameters.options.flag
import com.... | apache-2.0 | Kotlin |
ca0d3f51513e6c162d28e39112801075528b9855 | Fix symbol link in KDoc of ItemViewHolder | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | typesaferecyclerview/src/main/java/splitties/typesaferecyclerview/ItemViewHolder.kt | typesaferecyclerview/src/main/java/splitties/typesaferecyclerview/ItemViewHolder.kt | /*
* Copyright (c) 2017. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | /*
* Copyright (c) 2017. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | apache-2.0 | Kotlin |
f6fc90e40ccb72da8ce2043043387a64ff5646d7 | Update publishing plugin | jeremymailen/kotlinter-gradle | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | object Versions {
const val androidTools = "3.5.3"
const val jetbrainsAnnotations = "18.0.0"
const val junit = "4.13"
const val kotlin = "1.3.72"
const val kotlinter = "2.3.2"
const val ktlint = "0.37.1"
const val mockitoKotlin = "2.2.0"
const val pluginPublish = "0.12.0"
}
| object Versions {
const val androidTools = "3.5.3"
const val jetbrainsAnnotations = "18.0.0"
const val junit = "4.13"
const val kotlin = "1.3.72"
const val kotlinter = "2.3.2"
const val ktlint = "0.37.1"
const val mockitoKotlin = "2.2.0"
const val pluginPublish = "0.10.1"
}
| apache-2.0 | Kotlin |
d7ba1f12671ae5c1c51aacc7952b348ea7e685f4 | Add override for enableStaticFiles (fixes #476) | tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin | src/main/java/io/javalin/EmbeddedJavalin.kt | src/main/java/io/javalin/EmbeddedJavalin.kt | package io.javalin
import io.javalin.core.JavalinServlet
import io.javalin.core.util.Util
import io.javalin.staticfiles.Location
import io.javalin.websocket.WsHandler
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.server.session.SessionHandler
import java.util.function.Consumer
import java.util.functi... | package io.javalin
import io.javalin.core.JavalinServlet
import io.javalin.core.util.Util
import io.javalin.websocket.WsHandler
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.server.session.SessionHandler
import java.util.function.Consumer
import java.util.function.Supplier
/**
* Use this class inst... | apache-2.0 | Kotlin |
e90b09dbc9714068bbb3fec5a6863dd0bfefd730 | call taskCompleted in the finally section | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/vcs-log/impl/src/com/intellij/vcs/log/BaseSingleTaskController.kt | platform/vcs-log/impl/src/com/intellij/vcs/log/BaseSingleTaskController.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.log
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.diagnostic.Logger
impor... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.vcs.log
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.diagnostic.Logger
impor... | apache-2.0 | Kotlin |
be406a3a53081e2a9d586f2a961def31d0cbc390 | fix for kotlin update | meh/watch_doge,meh/watch_doge,meh/watch_doge | src/main/java/meh/watchdoge/ui/ProgressFragment.kt | src/main/java/meh/watchdoge/ui/ProgressFragment.kt | package meh.watchdoge.ui;
import android.os.Bundle;
import meh.watchdoge.R;
import org.jetbrains.anko.*;
import android.util.Log;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.View;
import android.widget.FrameLayout;
import android.widg... | package meh.watchdoge.ui;
import android.os.Bundle;
import meh.watchdoge.R;
import org.jetbrains.anko.*;
import android.util.Log;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.View;
import android.widget.FrameLayout;
import android.widg... | agpl-3.0 | Kotlin |
aa7e53822a3815ccb655b1c12dabedc7b2302578 | Add newly added configurations to test case expectation | robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/g... | provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt | provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt | package org.gradle.kotlin.dsl.accessors
import org.gradle.kotlin.dsl.fixtures.AbstractIntegrationTest
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.Test
class GenerateProjectSchemaTest : AbstractIntegrationTest() {
@Test
fun `writes multi-project sche... | package org.gradle.kotlin.dsl.accessors
import org.gradle.kotlin.dsl.fixtures.AbstractIntegrationTest
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.Test
class GenerateProjectSchemaTest : AbstractIntegrationTest() {
@Test
fun `writes multi-project sche... | apache-2.0 | Kotlin |
0c15a53d6692a760e552e89cd12041a5fa7fca3d | Create DiscoveryManager | GuiyeC/Aerlink-for-Android | wear/src/main/java/com/codegy/aerlink/connection/DiscoveryManager.kt | wear/src/main/java/com/codegy/aerlink/connection/DiscoveryManager.kt | package com.codegy.aerlink.connection
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothManager
import android.bluetooth.le.BluetoothLeScanner
import android.bluetooth.le.ScanCallback
import android.bluetooth.le.ScanResult
import android.bluetooth.le.S... | mit | Kotlin | |
9fe090933e74c2618423e1580295e0e49509d3c6 | Use ProtectionLevel in all entities for app. | epabst/kotlin-showcase,epabst/kotlin-showcase,epabst/kotlin-showcase,epabst/kotlin-showcase | common/src/main/kotlin/common/util/ProtectionLevel.kt | common/src/main/kotlin/common/util/ProtectionLevel.kt | package common.util
/**
* A level of protection for some data.
* @author Eric Pabst (epabst@gmail.com)
* Date: 3/19/18
* Time: 6:47 AM
*/
enum class ProtectionLevel(val label: String) {
/** Owned by all users. */
PUBLIC("Public: modifiable by all users"),
/** Private to the owning user. It is visibl... | package common.util
/**
* A level of protection for some data.
* @author Eric Pabst (epabst@gmail.com)
* Date: 3/19/18
* Time: 6:47 AM
*/
enum class ProtectionLevel {
/**
* Only stored on the particular device.
* It is not stored in a cloud and is not accessible by anyone unless they have access to ... | apache-2.0 | Kotlin |
1e8bd21bb8e4b447232b18db5ba148f50ebdaa57 | Refactor "RenameChangeListAction" | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RenameChangeListAction.kt | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RenameChangeListAction.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.actions
import com.intellij.openapi.actionSystem.ActionPlaces
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.actions
import com.intellij.openapi.actionSystem.ActionPlaces
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.open... | apache-2.0 | Kotlin |
d554da389074e7e4f9ffc83699421ecf4baa3e23 | Improve the code | panpf/sketch,panpf/sketch | sketch/src/main/java/com/github/panpf/sketch/decode/internal/ImageFormat.kt | sketch/src/main/java/com/github/panpf/sketch/decode/internal/ImageFormat.kt | /*
* Copyright (C) 2019 panpf <panpfpanpf@outlook.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright (C) 2019 panpf <panpfpanpf@outlook.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
45df44f471c177edc073e9dfbbaee875e79879ab | add ExecutorsTest | alibaba/transmittable-thread-local,alibaba/multi-thread-context,alibaba/transmittable-thread-local,alibaba/multi-thread-context,alibaba/transmittable-thread-local,alibaba/multi-thread-context | src/test/java/com/alibaba/third_part_lib_test/ExecutorsTest.kt | src/test/java/com/alibaba/third_part_lib_test/ExecutorsTest.kt | package com.alibaba.third_part_lib_test
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
import java.util.concurrent.Executors
import java.util.concurrent.ThreadPoolExecutor
import java.util.concurrent.TimeUnit
class ExecutorsTest {
@Test
fun test_remove_of_ThreadP... | apache-2.0 | Kotlin | |
2ba603b8316486f1a562e9ce77aa0efb5d1cd96d | Structure View: Include type info for struct fields | anton-okolelov/intellij-rust,alygin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Turbo87/intellij-rust,intellij-rust/intellij-rust,d9n/intellij-rust,anton-okolelov/intellij-rust,alygin/intellij-rust,ujpv/intellij-... | src/org/rust/lang/structure/RustStructDeclFieldTreeElement.kt | src/org/rust/lang/structure/RustStructDeclFieldTreeElement.kt | package org.rust.lang.structure
import com.intellij.ide.structureView.StructureViewTreeElement
import com.intellij.ide.structureView.impl.common.PsiTreeElementBase
import com.intellij.psi.NavigatablePsiElement
import org.rust.lang.core.psi.RustStructDeclField
class RustStructDeclFieldTreeElement(element: RustStructDe... | package org.rust.lang.structure
import com.intellij.ide.structureView.StructureViewTreeElement
import com.intellij.ide.structureView.impl.common.PsiTreeElementBase
import com.intellij.psi.NavigatablePsiElement
import org.rust.lang.core.psi.RustStructDeclField
class RustStructDeclFieldTreeElement(element: RustStructDe... | mit | Kotlin |
e2a6deb79f9196a1c2c27df0062eead88e22e3b4 | Update MainActivity.kt | MidsizeMango/Permissions-Handler,MidsizeMango/Permissions-Handler | app/src/main/java/com/example/prasad/permissionshelpersample/MainActivity.kt | app/src/main/java/com/example/prasad/permissionshelpersample/MainActivity.kt | package com.example.prasad.permissionshelpersample
import android.app.Activity
import android.os.Bundle
import android.widget.Button
import android.widget.Toast
import com.midsizemango.permissionhelper.PermissionHelperActivity
import com.midsizemango.permissionhelper.Permissions
import com.midsizemango.permissionhelpe... | package com.example.prasad.permissionshelpersample
import android.app.Activity
import android.os.Bundle
import android.widget.Button
import android.widget.Toast
import com.midsizemango.permissionhelper.PermissionHelperActivity
import com.midsizemango.permissionhelper.Permissions
import com.midsizemango.permissionhelpe... | mit | Kotlin |
a199d53b313bce952f0ea5b8c351ba90f42d992d | Bump io.freefair.maven-central.validate-poms from 6.1.0 to 6.2.0 | gesellix/gradle-docker-plugin,gesellix/gradle-docker-plugin | build.gradle.kts | build.gradle.kts | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.39.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.16.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.2.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
... | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.39.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.16.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.1.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
... | mit | Kotlin |
1e0d6c97c4812d70fa9df3be0d854c25371efe3b | Add Automatic-Module-Name to manifest | fluxroot/jcpi,fluxroot/jcpi | build.gradle.kts | build.gradle.kts | import com.fluxchess.gladius.build.plugin.artifact.JavaArtifactPlugin
import com.fluxchess.gladius.build.plugin.ci.CiPlugin
import com.fluxchess.gladius.build.plugin.versioning.VersioningExtension
import com.fluxchess.gladius.build.plugin.versioning.VersioningPlugin
description = "Java Chess Protocol Interface"
group ... | import com.fluxchess.gladius.build.plugin.artifact.JavaArtifactPlugin
import com.fluxchess.gladius.build.plugin.ci.CiPlugin
import com.fluxchess.gladius.build.plugin.versioning.VersioningExtension
import com.fluxchess.gladius.build.plugin.versioning.VersioningPlugin
description = "Java Chess Protocol Interface"
group ... | apache-2.0 | Kotlin |
bf0dca2e31a7555d851f36dcae81d883677762a3 | Bump org.jetbrains.kotlin.kapt from 1.5.30 to 1.5.31 | docker-client/docker-engine,docker-client/docker-engine,docker-client/docker-engine | build.gradle.kts | build.gradle.kts | import java.text.SimpleDateFormat
import java.util.*
rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date()))
plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.39.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.v... | import java.text.SimpleDateFormat
import java.util.*
rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date()))
plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.39.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.v... | mit | Kotlin |
9df9d5a7d0cb259cb3d534acb3dfe374511d1973 | Update plugin org.jetbrains.intellij to v1.8.1 (#455) | Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs | build.gradle.kts | build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.7.10"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.8.1"
}... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.7.10"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.8.0"
}... | apache-2.0 | Kotlin |
4246cafa909241f669e211fcad0afed0e3410d2e | Bump wpilib version | TeamMeanMachine/meanlib,TeamMeanMachine/meanlib | build.gradle.kts | build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:0.9.17")
}
}
plugins {
java
maven
}
apply... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:0.9.17")
}
}
plugins {
java
maven
}
apply... | unlicense | Kotlin |
3f8a3ea25a50742b554566e79b4e4cad4107790c | Update Spoofax 2 Gradle plugin to 0.4.2. | metaborg/sdf,metaborg/sdf,metaborg/sdf | build.gradle.kts | build.gradle.kts | plugins {
id("org.metaborg.gradle.config.root-project") version "0.3.21"
id("org.metaborg.gitonium") version "0.1.3"
// Set versions for plugins to use, only applying them in subprojects (apply false here).
id("org.metaborg.spoofax.gradle.langspec") version "0.4.2" apply false
id("de.set.ecj") version "1.4.1... | plugins {
id("org.metaborg.gradle.config.root-project") version "0.3.21"
id("org.metaborg.gitonium") version "0.1.3"
// Set versions for plugins to use, only applying them in subprojects (apply false here).
id("org.metaborg.spoofax.gradle.langspec") version "0.4.1" apply false
id("de.set.ecj") version "1.4.1... | apache-2.0 | Kotlin |
fea8f8dd6be79a03dd35f7619f428093932baff9 | bump minSdkVersion to lollipop | dailymotion/dailymotion-player-sdk-android | buildSrc/src/main/java/Version.kt | buildSrc/src/main/java/Version.kt | object Version {
val targetSdkVersion = 28
val minSdkVersion = 21
val compileSdkVersion = 28
} | object Version {
val targetSdkVersion = 28
val minSdkVersion = 14
val compileSdkVersion = 28
} | mit | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.