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 |
|---|---|---|---|---|---|---|---|---|
2b54f7404bbee194f6e6181b3564de7fa44049ff | Fix build logging message formatting | AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn | tools/acornui-build-tasks/src/jvmMain/kotlin/com/acornui/build/util/AcornAssets.kt | tools/acornui-build-tasks/src/jvmMain/kotlin/com/acornui/build/util/AcornAssets.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 |
2fa10634b660a5b8eeefb27e2fab3577a000dcb9 | refactor #285 Rename test function. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/settings/color/DefaultColorInsertionTest.kt | app/src/test/java/jp/toastkid/yobidashi/settings/color/DefaultColorInsertionTest.kt | /*
* Copyright (c) 2021 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) 2021 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 |
3e9b23c6652fc8491364ce2e0e37276d56c283cb | Create App.kt | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/usecases/creating_message_application/src/main/kotlin/com/example/sqs/App.kt | kotlin/usecases/creating_message_application/src/main/kotlin/com/example/sqs/App.kt | /*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package com.example.sqs
import kotlinx.coroutines.runBlocking
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework... | apache-2.0 | Kotlin | |
e81f24d282676add13881d921dbfed81ba479309 | Remove a default implementation as it can lead to errors | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | aztec/src/main/kotlin/org/wordpress/aztec/plugins/visual2html/IInlineSpanHandler.kt | aztec/src/main/kotlin/org/wordpress/aztec/plugins/visual2html/IInlineSpanHandler.kt | package org.wordpress.aztec.plugins.visual2html
import android.annotation.SuppressLint
import android.text.style.CharacterStyle
import org.wordpress.aztec.plugins.IAztecPlugin
/**
* An interface for processing spans during visual-to-HTML.
*/
@SuppressLint("NewApi")
interface IInlineSpanHandler : IAztecPlugin {
... | package org.wordpress.aztec.plugins.visual2html
import android.annotation.SuppressLint
import android.text.style.CharacterStyle
import org.wordpress.aztec.plugins.IAztecPlugin
/**
* An interface for processing spans during visual-to-HTML.
*/
@SuppressLint("NewApi")
interface IInlineSpanHandler : IAztecPlugin {
... | mpl-2.0 | Kotlin |
a27b22855a5aa80964c3450b899924b4a1b7bf1e | upgrade gradle publish plugin version to 0.21.0 | drmaas/ratpack-kotlin | ratpack-kotlin-gradle/build.gradle.kts | ratpack-kotlin-gradle/build.gradle.kts | // First, apply the publishing plugin
plugins {
id("com.gradle.plugin-publish") version "0.21.0"
`java-gradle-plugin`
}
repositories {
mavenCentral()
}
apply {
from ("../dependencies.gradle")
}
dependencies {
// other dependencies that your plugin requires
implementation("io.ratpack:ratpack-gradle:${(pro... | // First, apply the publishing plugin
plugins {
id("com.gradle.plugin-publish") version "0.10.0"
`java-gradle-plugin`
}
repositories {
mavenCentral()
}
apply {
from ("../dependencies.gradle")
}
dependencies {
// other dependencies that your plugin requires
implementation("io.ratpack:ratpack-gradle:${(pro... | apache-2.0 | Kotlin |
d6056ed0953d88e136edb1b35956adeb6c3b75f0 | refactor #511 Divide to use case. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/editor/usecase/CurrentLineDeletionUseCase.kt | app/src/main/java/jp/toastkid/yobidashi/editor/usecase/CurrentLineDeletionUseCase.kt | /*
* Copyright (c) 2021 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 | |
3211a655771ee11811545aa1aaa66d41dc009f49 | hide word book toolwindow if there are no words to show | YiiGuxing/TranslationPlugin,YiiGuxing/TranslationPlugin | src/main/kotlin/cn/yiiguxing/plugin/translate/wordbook/WordBookToolWindowFactory.kt | src/main/kotlin/cn/yiiguxing/plugin/translate/wordbook/WordBookToolWindowFactory.kt | package cn.yiiguxing.plugin.translate.wordbook
import cn.yiiguxing.plugin.translate.service.TranslationUIManager
import cn.yiiguxing.plugin.translate.util.Application
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.project.Project
import com.intellij.openapi.wm.ToolWindow
import com.intellij.... | package cn.yiiguxing.plugin.translate.wordbook
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.project.Project
import com.intellij.openapi.wm.ToolWindow
import com.intellij.openapi.wm.ToolWindowFactory
/**
* Word book tool window factory
*/
class WordBookToolWindowFactory : ToolWindowFacto... | mit | Kotlin |
1f44ddc5b44deab0475155782f272c8baa978ecf | Update Spoofax 2 Gradle plugin to 0.4.2. | metaborg/spoofax-deploy,metaborg/spoofax-deploy,metaborg/spoofax-deploy | gradle/build.gradle.kts | gradle/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 |
84d3b2b08faeb038be8cfe769ff18c62dbf3c53d | Fix serialization bug | 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/statistics/src/com/intellij/internal/statistic/local/ActionsLocalSummary.kt | platform/statistics/src/com/intellij/internal/statistic/local/ActionsLocalSummary.kt | // Copyright 2000-2020 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.internal.statistic.local
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi... | // Copyright 2000-2020 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.internal.statistic.local
import com.intellij.openapi.actionSystem.ActionManager
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi... | apache-2.0 | Kotlin |
d28607651624bea40ceb43f26946087cf732210f | prepare 1.9.0 release | laurentvdl/sqlbuilder,laurentvdl/sqlbuilder | build.gradle.kts | build.gradle.kts | import org.gradle.kotlin.dsl.extra
import org.gradle.kotlin.dsl.getValue
import org.gradle.kotlin.dsl.kotlin
import org.gradle.kotlin.dsl.repositories
import org.gradle.kotlin.dsl.version
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
}
val kotlinV... | import org.gradle.kotlin.dsl.extra
import org.gradle.kotlin.dsl.getValue
import org.gradle.kotlin.dsl.kotlin
import org.gradle.kotlin.dsl.repositories
import org.gradle.kotlin.dsl.version
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
}
val kotlinV... | apache-2.0 | Kotlin |
03bc6289c0edeac004617893a2498a0c010f1c7c | Bump com.gradle.plugin-publish from 0.21.0 to 1.0.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.42.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "1.0.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.5.0.3"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"... | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.42.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.21.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.5.0.3"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0... | mit | Kotlin |
42a3e0b37a5fdeb8ee604f893a69b14e62ac0393 | Change version to 2.4.0 | libgdx/packr,libgdx/packr,libgdx/packr,libgdx/packr | build.gradle.kts | build.gradle.kts | /*
* Copyright 2020 See AUTHORS file
*
* 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 2020 See AUTHORS file
*
* 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 |
10cc3d3b2091b5d14ad91dbc73306570459b0ea7 | upgrade gradle build tools - 7.1.3 | mvmike/min-cal-widget | build.gradle.kts | build.gradle.kts | buildscript {
//https://kotlinlang.org/releases.html
val kotlinVersion by extra { "1.6.20" }
dependencies {
//https://developer.android.com/studio/releases/gradle-plugin
classpath("com.android.tools.build:gradle:7.1.3")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe... | buildscript {
//https://kotlinlang.org/releases.html
val kotlinVersion by extra { "1.6.20" }
dependencies {
//https://developer.android.com/studio/releases/gradle-plugin
classpath("com.android.tools.build:gradle:7.1.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe... | bsd-3-clause | Kotlin |
910fd54b770634102ff3d1f3f956dd1afc3520ef | Bump io.freefair.maven-central.validate-poms from 6.4.1 to 6.4.2 | 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.42.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.42.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.v... | mit | Kotlin |
b30d8a57409c022699dc0e7e1264d7f48f240ada | Update problem 2244 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2244.kt | src/main/kotlin/leetcode/Problem2244.kt | package leetcode
/**
* https://leetcode.com/problems/minimum-rounds-to-complete-all-tasks/
*/
class Problem2244 {
fun minimumRounds(tasks: IntArray): Int {
TODO()
}
}
fun main() {
val prob = Problem2244()
println(prob.minimumRounds(intArrayOf(2,2,3,3,2,4,4,4,4,4))) // 4
println(prob.mini... | package leetcode
/**
* https://leetcode.com/problems/minimum-rounds-to-complete-all-tasks/
*/
class Problem2244 {
fun minimumRounds(tasks: IntArray): Int {
TODO()
}
}
fun main() {
val prob = Problem2244()
println(prob.minimumRounds(intArrayOf(2,2,3,3,2,4,4,4,4,4))) // 4
println(prob.mini... | mit | Kotlin |
50c0f738d403217844fa7b7103ddf957ebe0a560 | Add serialization of requests | lapis-mc/yggdrasil | src/main/kotlin/com/lapismc/minecraft/yggdrasil/rest/serialization/JsonSerializer.kt | src/main/kotlin/com/lapismc/minecraft/yggdrasil/rest/serialization/JsonSerializer.kt | package com.lapismc.minecraft.yggdrasil.rest.serialization
import com.github.salomonbrys.kotson.jsonObject
import com.github.salomonbrys.kotson.string
import com.google.gson.JsonObject
import com.lapismc.minecraft.yggdrasil.Agent
import com.lapismc.minecraft.yggdrasil.rest.*
/**
* Serializer for generating JSON data... | package com.lapismc.minecraft.yggdrasil.rest.serialization
import com.lapismc.minecraft.yggdrasil.rest.*
/**
* Serializer for generating JSON data from request objects.
*/
class JsonSerializer : Serializer<String> {
/**
* Serializes an authentication request.
* @param request Request to serialize.
... | mit | Kotlin |
e29a86a22133ffab98818cbe6a1e7b5086cb5632 | refactor #605 Re-add import. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/settings/background/load/ImageStoreService.kt | app/src/main/java/jp/toastkid/yobidashi/settings/background/load/ImageStoreService.kt | /*
* Copyright (c) 2019 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) 2019 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 |
17ff4b488c88b6422ba41cb5a89fc9aad5a88e45 | Make ProfileExecutor.EXECUTOR_ID const. | rhdunn/marklogic-intellij-plugin | src/main/java/uk/co/reecedunn/intellij/plugin/marklogic/ui/profile/ProfileExecutor.kt | src/main/java/uk/co/reecedunn/intellij/plugin/marklogic/ui/profile/ProfileExecutor.kt | /*
* Copyright (C) 2017 Reece H. Dunn
*
* 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 Reece H. Dunn
*
* 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 |
88cc31cfa04bc62c978547ad966a6d44abc5dc80 | refactor #605 Replace to new factory. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/AddingFolderDialogFragment.kt | app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/AddingFolderDialogFragment.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 |
11699044eec12059f66a6ed183f6a422e049c183 | change the size of event log salt | 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/platform-impl/src/com/intellij/internal/statistic/eventLog/EventLogConfiguration.kt | platform/platform-impl/src/com/intellij/internal/statistic/eventLog/EventLogConfiguration.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.
package com.intellij.internal.statistic.eventLog
import com.google.common.hash.Hashing
import com.intellij.internal.statistic.DeviceIdManager
import com.intellij.openapi.applicat... | // 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 com.intellij.internal.statistic.eventLog
import com.google.common.hash.Hashing
import com.intellij.internal.statistic.DeviceIdManager
import com.intellij.openapi.applicat... | apache-2.0 | Kotlin |
9582a872f68fbd5efc66e0d70c929200dd0a2b1e | Work around Kotlin incremental compiler bug | NextFaze/dev-fun,NextFaze/dev-fun,NextFaze/dev-fun | demo/src/main/java/com/nextfaze/devfun/demo/inject/Application.kt | demo/src/main/java/com/nextfaze/devfun/demo/inject/Application.kt | package com.nextfaze.devfun.demo.inject
import android.app.ActivityManager
import android.app.Application
import android.content.Context
import android.os.Process
import android.support.multidex.MultiDex
import android.util.Log
import dagger.Component
import dagger.Module
import dagger.Provides
import dagger.multibind... | package com.nextfaze.devfun.demo.inject
import android.app.ActivityManager
import android.app.Application
import android.content.Context
import android.os.Process
import android.support.multidex.MultiDex
import android.util.Log
import dagger.Component
import dagger.Module
import dagger.Provides
import dagger.multibind... | apache-2.0 | Kotlin |
b2ee96d89ec9318e571d3bbe35e1b8127e80698a | Refactor "AddChangeListAction" - remove redundant unique name generation | 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/AddChangeListAction.kt | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/AddChangeListAction.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.AnAction
import com.intellij.open... | // 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 |
4f6fe875a497812702a9aba0f6c662590b6c1285 | update android gradle plugin to v3.6.0-beta05 | nisrulz/sensey | buildSrc/src/main/java/Versions.kt | buildSrc/src/main/java/Versions.kt | /*
* Copyright (C) 2016 Nishant Srivastava
*
* 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 ... | /*
* Copyright (C) 2016 Nishant Srivastava
*
* 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 ... | apache-2.0 | Kotlin |
38048448d692561621bcb4a8948512d7b73455e1 | Solve problem 2215 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2215.kt | src/main/kotlin/leetcode/Problem2215.kt | package leetcode
/**
* https://leetcode.com/problems/find-the-difference-of-two-arrays/
*/
class Problem2215 {
fun findDifference(nums1: IntArray, nums2: IntArray): List<List<Int>> {
val answer = mutableListOf<List<Int>>()
val set1 = nums1.toSet()
val set2 = nums2.toSet()
val answ... | mit | Kotlin | |
c8659667258b732509741cbb26ce6495119d2949 | Add missing NamingConventions rule | arturbosch/detekt,arturbosch/detekt,MyDogTom/detekt,rock3r/detekt,rock3r/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,Mauin/detekt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/providers/StyleGuideProvider.kt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/providers/StyleGuideProvider.kt | package io.gitlab.arturbosch.detekt.rules.providers
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.RuleSet
import io.gitlab.arturbosch.detekt.api.RuleSetProvider
import io.gitlab.arturbosch.detekt.rules.NamingConventionViolation
import io.gitlab.arturbosch.detekt.rules.NoElseInWhe... | package io.gitlab.arturbosch.detekt.rules.providers
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.RuleSet
import io.gitlab.arturbosch.detekt.api.RuleSetProvider
import io.gitlab.arturbosch.detekt.rules.NoElseInWhenExpression
import io.gitlab.arturbosch.detekt.rules.OptionalSemico... | apache-2.0 | Kotlin |
916acc1e04e4f4cf22906ca8ea193cbeb84d872e | fix click handling for block inlays | 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-impl/src/com/intellij/codeInsight/hints/presentation/PresentationMouseHandler.kt | platform/lang-impl/src/com/intellij/codeInsight/hints/presentation/PresentationMouseHandler.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.codeInsight.hints.presentation
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.editor.EditorFactory
import com.intelli... | // 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.codeInsight.hints.presentation
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.editor.EditorFactory
import com.intelli... | apache-2.0 | Kotlin |
b0fa93c14285f0f28697f408e4c3c452ee6b3a5b | Update javadoc for data classes | tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin | src/main/java/io/javalin/DataClasses.kt | src/main/java/io/javalin/DataClasses.kt | /*
* Javalin - https://javalin.io
* Copyright 2017 David Åse
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin
import java.io.InputStream
/**
* Data class containing the content and meta-info of an uploaded file.
* [contentType]: the content-type passed by ... | /*
* Javalin - https://javalin.io
* Copyright 2017 David Åse
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin
import java.io.InputStream
/**
* Description of a file uploaded as a multipart content
* @see Context.uploadedFile
* @see <a href="https://javali... | apache-2.0 | Kotlin |
df2828540c87b9a8376201b892125c9c273fb6f4 | Solve problem 2047 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2047.kt | src/main/kotlin/leetcode/Problem2047.kt | package leetcode
/**
* https://leetcode.com/problems/number-of-valid-words-in-a-sentence/
*/
class Problem2047 {
fun countValidWords(sentence: String): Int {
var answer = 0
val words = sentence.split("""\s+""".toRegex())
val regex = """(?:[a-z]+(?:-[a-z]+|[a-z]+)?)?[!.,]?""".toRegex()
... | package leetcode
/**
* https://leetcode.com/problems/number-of-valid-words-in-a-sentence/
*/
class Problem2047 {
fun countValidWords(sentence: String): Int {
TODO()
}
}
fun main() {
val prob = Problem2047()
println(prob.countValidWords("cat and dog")) // 3
println(prob.countValidWords("... | mit | Kotlin |
abb51ff5a5518ef171d6f877da0b2e30b60c4ae2 | Update problem 2073 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2073.kt | src/main/kotlin/leetcode/Problem2073.kt | package leetcode
/**
* https://leetcode.com/problems/time-needed-to-buy-tickets/
*/
class Problem2073 {
fun timeRequiredToBuy(tickets: IntArray, k: Int): Int {
TODO()
}
}
fun main() {
val prob = Problem2073()
println(prob.timeRequiredToBuy(intArrayOf(2,3,2), 2)) // 6
println(prob.timeReq... | package leetcode
/**
* https://leetcode.com/problems/time-needed-to-buy-tickets/
*/
class Problem2073 {
fun timeRequiredToBuy(tickets: IntArray, k: Int): Int {
TODO()
}
}
fun main() {
val prob = Problem2073()
println(prob.timeRequiredToBuy(intArrayOf(2,3,2), 2)) // 6
println(prob.timeReq... | mit | Kotlin |
cf4094d3ef7dd688e66dee5368442dfbf7940526 | Set content description on cards (#34) | android/tv-samples,android/tv-samples,android/tv-samples,android/tv-samples,android/tv-samples,android/tv-samples,android/tv-samples | ClassicsKotlin/app/src/main/java/com/android/tv/classics/presenters/TvMediaMetadataPresenter.kt | ClassicsKotlin/app/src/main/java/com/android/tv/classics/presenters/TvMediaMetadataPresenter.kt | package com.android.tv.classics.presenters
import android.graphics.Color
import android.view.View
import android.view.ViewGroup
import androidx.leanback.widget.ImageCardView
import androidx.leanback.widget.Presenter
import coil.api.load
import com.android.tv.classics.models.TvMediaMetadata
import com.android.tv.classi... | package com.android.tv.classics.presenters
import android.graphics.Color
import android.view.View
import android.view.ViewGroup
import androidx.leanback.widget.ImageCardView
import androidx.leanback.widget.Presenter
import coil.api.load
import com.android.tv.classics.models.TvMediaMetadata
import com.android.tv.classi... | apache-2.0 | Kotlin |
4e4f5dc55ebe387311f329758e6a2a5941721088 | refactor #523 Delete useless setting URL. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt | app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt | /*
* Copyright (c) 2021 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) 2021 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 |
1eebfebeb682e6087c81b535351288bece7e5d27 | refactor #523 Rename constant. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt | app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt | /*
* Copyright (c) 2021 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) 2021 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 |
cf5923376eb2e41b902835dc56c8d24e40f814da | Add persistent-cache as a dependency to build-init subproject | gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpira... | subprojects/build-init/build.gradle.kts | subprojects/build-init/build.gradle.kts | plugins {
id("gradlebuild.distribution.api-java")
id("gradlebuild.update-init-template-versions")
}
dependencies {
implementation(project(":base-services"))
implementation(project(":logging"))
implementation(project(":core-api"))
implementation(project(":model-core"))
implementation(project... | plugins {
id("gradlebuild.distribution.api-java")
id("gradlebuild.update-init-template-versions")
}
dependencies {
implementation(project(":base-services"))
implementation(project(":logging"))
implementation(project(":core-api"))
implementation(project(":model-core"))
implementation(project... | apache-2.0 | Kotlin |
1c72e08c193fe140c4e46ad1e3dff69b31b8b97f | make ElementResolveResult#isValidResult final | 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/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/ElementResolveResult.kt | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/ElementResolveResult.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.
package org.jetbrains.plugins.groovy.lang.resolve
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiSubstitutor
import org.jetbrains.plugins.groovy.lang.psi.api.Groov... | // 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.plugins.groovy.lang.resolve
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiSubstitutor
import org.jetbrains.plugins.groovy.lang.psi.api.Groov... | apache-2.0 | Kotlin |
8dc294e50c6c24f3a7578f98a2253653c47b4674 | Update documentation | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/mergelayers/affine/AffineLayerStructure.kt | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/mergelayers/affine/AffineLayerStructure.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* 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/.
* ------------------------------------------... | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* 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/.
* ------------------------------------------... | mpl-2.0 | Kotlin |
6c9a8bdb8dc21bc4732f4c1349ec8df8fe236ca0 | test compiler fixes | mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin | vok-example-crud-sql2o/src/test/kotlin/com/github/vok/example/crud/personeditor/CrudViewTest.kt | vok-example-crud-sql2o/src/test/kotlin/com/github/vok/example/crud/personeditor/CrudViewTest.kt | package com.github.vok.example.crud.personeditor
import com.github.karibu.testing.*
import com.github.mvysny.dynatest.DynaNodeGroup
import com.github.mvysny.dynatest.DynaTest
import com.github.vok.example.crud.Bootstrap
import com.github.vok.example.crud.MyUI
import com.github.vok.karibudsl.autoDiscoverViews
import co... | package com.github.vok.example.crud.personeditor
import com.github.karibu.testing.*
import com.github.mvysny.dynatest.DynaNodeGroup
import com.github.mvysny.dynatest.DynaTest
import com.github.vok.example.crud.Bootstrap
import com.github.vok.example.crud.MyUI
import com.github.vok.karibudsl.autoDiscoverViews
import co... | mit | Kotlin |
3d6702a676f67a567c527274996398d88a37de6b | use modality "any" | dkandalov/pomodoro-tm,dkandalov/pomodoro-tm | src/pomodoro/model/ControlThread.kt | src/pomodoro/model/ControlThread.kt | /*
* 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 in writing, software
* distributed u... | /*
* 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 in writing, software
* distributed u... | apache-2.0 | Kotlin |
02ad5ae203e4112b14f4782fe0374fd3d73f2825 | Update build.gradle.kts | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/services/secretsmanager/build.gradle.kts | kotlin/services/secretsmanager/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:secretsmanager:0.9.4-beta")
testImplementation("org.junit.jupiter:junit-jupiter... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:secretsmanager:0.9.0-alpha")
testImplementation("org.junit.jupiter:junit-jupite... | apache-2.0 | Kotlin |
f9f8299f4e1b4fd0e65930592a905a5db4d09458 | Add explicit KGP version to the android sample | robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle-script-kotlin,blindpirate/gradle,gradle/gradle,robinver... | samples/hello-android/build.gradle.kts | samples/hello-android/build.gradle.kts | plugins {
id("com.android.application") version "2.3.3"
kotlin("android") version "1.1.50"
}
android {
buildToolsVersion("25.0.0")
compileSdkVersion(23)
defaultConfig {
minSdkVersion(15)
targetSdkVersion(23)
applicationId = "com.example.kotlingradle"
versionCode = ... | plugins {
id("com.android.application") version "2.3.3"
kotlin("android")
}
android {
buildToolsVersion("25.0.0")
compileSdkVersion(23)
defaultConfig {
minSdkVersion(15)
targetSdkVersion(23)
applicationId = "com.example.kotlingradle"
versionCode = 1
version... | apache-2.0 | Kotlin |
1afb6692a95e9092a5c30417d4495ea5313b6a54 | Replace custom extensions by builtin overloads | gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle-script-kotlin,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle... | samples/hello-android/build.gradle.kts | samples/hello-android/build.gradle.kts |
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:2.3.1")
classpath(kotlinModule("gradle-plugin"))
}
}
repositories {
jcenter()
}
apply {
plugin("com.android.application")
plugin("kotlin-android")
}
android {
bui... | import com.android.builder.core.DefaultApiVersion
import com.android.builder.core.DefaultProductFlavor
import com.android.builder.model.ApiVersion
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:2.3.1")
classpath(kotlinModule("gradle... | apache-2.0 | Kotlin |
e8d613fb34de47bd15b09466763430ca67be21f2 | Implement terminator handler | bibaev/stream-debugger-plugin,bibaev/stream-debugger-plugin | src/main/java/com/intellij/debugger/streams/trace/impl/handler/unified/TerminatorTraceHandler.kt | src/main/java/com/intellij/debugger/streams/trace/impl/handler/unified/TerminatorTraceHandler.kt | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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 agre... | apache-2.0 | Kotlin | |
adb86afa7134f49e00004231caaf3ca47e0f8d41 | Test PosterPlugin | clappr/clappr-android,clappr/clappr-android | clappr/src/test/kotlin/io/clappr/player/plugin/PosterPluginTest.kt | clappr/src/test/kotlin/io/clappr/player/plugin/PosterPluginTest.kt | package io.clappr.player.plugin
import io.clappr.player.BuildConfig
import io.clappr.player.Player
import io.clappr.player.base.*
import io.clappr.player.components.Container
import org.junit.After
import org.junit.Before
import org.junit.Test
import org.junit.Assert.*
import org.junit.runner.RunWith
import org.robol... | bsd-3-clause | Kotlin | |
f6e930370fac43341f32672da0d57d4e896dbdd2 | Add missing LazyThreadSafetyMode | droibit/chopsticks | chopstick-resource/src/main/kotlin/com/github/droibit/chopstick/resource/ChopstickResourceBinder.kt | chopstick-resource/src/main/kotlin/com/github/droibit/chopstick/resource/ChopstickResourceBinder.kt | package com.github.droibit.chopstick.resource
import android.content.Context
import android.graphics.drawable.Drawable
import androidx.annotation.ArrayRes
import androidx.annotation.BoolRes
import androidx.annotation.ColorRes
import androidx.annotation.DimenRes
import androidx.annotation.DrawableRes
import androidx.an... | package com.github.droibit.chopstick.resource
import android.content.Context
import android.graphics.drawable.Drawable
import androidx.annotation.ArrayRes
import androidx.annotation.BoolRes
import androidx.annotation.ColorRes
import androidx.annotation.DimenRes
import androidx.annotation.DrawableRes
import androidx.an... | apache-2.0 | Kotlin |
e7a47f9a64f676d57872b5aad525e05e23c6c429 | Trim whitespace | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | build.gradle.kts | build.gradle.kts | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("SpellCheckingInspection")
import de.fayard.BuildSrcVersionsExtension
plugins {
/**
* Plugin versions are set in `gradle.properties` by the property `plugin.$PLUGIN_ID=$PLUGIN_... | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("SpellCheckingInspection")
import de.fayard.BuildSrcVersionsExtension
plugins {
/**
* Plugin versions are set in `gradle.properties` by the property `plugin.$PLUGIN_ID=$PLUGIN_... | apache-2.0 | Kotlin |
a3fd07267988e4b1765209824c979c41e2f9c6cd | Update `jackson-module-kotlin` and `sentry-logback`. | KotlinBy/awesome-kotlin,KotlinBy/awesome-kotlin,KotlinBy/awesome-kotlin,KotlinBy/awesome-kotlin | build.gradle.kts | build.gradle.kts | import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.extra
import org.gradle.kotlin.dsl.getValue
import org.gradle.kotlin.dsl.kotlin
import org.gradle.kotlin.dsl.repositories
import org.jetbrains.kotlin.gradle.dsl.Coroutines
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
val kotlinVersion by ... | import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.extra
import org.gradle.kotlin.dsl.getValue
import org.gradle.kotlin.dsl.kotlin
import org.gradle.kotlin.dsl.repositories
import org.jetbrains.kotlin.gradle.dsl.Coroutines
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
val kotlinVersion by ... | apache-2.0 | Kotlin |
cc6882be71065ba2a7960ba8bc552e03380ef168 | upgrade gradle build tools - 7.0.4 | mvmike/min-cal-widget | build.gradle.kts | build.gradle.kts | buildscript {
//https://kotlinlang.org/releases.html
val kotlinVersion by extra { "1.6.0" }
dependencies {
//https://developer.android.com/studio/releases/gradle-plugin
classpath("com.android.tools.build:gradle:7.0.4")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVer... | buildscript {
//https://kotlinlang.org/releases.html
val kotlinVersion by extra { "1.6.0" }
dependencies {
//https://developer.android.com/studio/releases/gradle-plugin
classpath("com.android.tools.build:gradle:7.0.3")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVer... | bsd-3-clause | Kotlin |
68561a2159f7646c0285733e4d6696add75b087c | bump gradle plugin version | breandan/idear,OpenASR/idear,OpenASR/idear,breandan/idear | build.gradle.kts | build.gradle.kts | import org.jetbrains.intellij.tasks.RunIdeTask
tasks.withType<RunIdeTask> {
findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) }
}
plugins {
id("org.jetbrains.intellij") version "0.4.6"
kotlin("jvm") version "1.3.21"
}
intellij {
pluginName = "idear"
updateSinceUntilBuild = fa... | import org.jetbrains.intellij.tasks.RunIdeTask
tasks.withType<RunIdeTask> {
findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) }
}
plugins {
id("org.jetbrains.intellij") version "0.4.5"
kotlin("jvm") version "1.3.21"
}
intellij {
pluginName = "idear"
updateSinceUntilBuild = fa... | apache-2.0 | Kotlin |
b246584dc840e93806a3dce82e4c2a1f4ac6ecc7 | Disable ensureJavaHomeMatches from Gradle Doctor | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | build.gradle.kts | build.gradle.kts | /*
* Copyright 2019-2021 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("SpellCheckingInspection")
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
buildscript {
repositorie... | /*
* Copyright 2019-2021 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("SpellCheckingInspection")
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
buildscript {
repositorie... | apache-2.0 | Kotlin |
d5d5861ab536c111f8499b50c75f9401eeacc3c5 | update version to 3.7.1 | zengkid/SmartTomcat,zengkid/SmartTomcat | build.gradle.kts | build.gradle.kts | plugins {
id("org.jetbrains.intellij") version "0.4.21"
java
kotlin("jvm") version "1.3.72"
}
version = "3.7.1"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
testCompile("junit", "junit", "4.12")
}
// See https://github.com/JetBrains/gradle-intellij-plu... | plugins {
id("org.jetbrains.intellij") version "0.4.21"
java
kotlin("jvm") version "1.3.72"
}
version = "3.7.0"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
testCompile("junit", "junit", "4.12")
}
// See https://github.com/JetBrains/gradle-intellij-plu... | apache-2.0 | Kotlin |
ec8ebee983fea20de5de7c926662f2052390fd7f | upgrade kotlin - 1.6.20 | mvmike/min-cal-widget | build.gradle.kts | build.gradle.kts | buildscript {
//https://kotlinlang.org/releases.html
val kotlinVersion by extra { "1.6.20" }
dependencies {
//https://developer.android.com/studio/releases/gradle-plugin
classpath("com.android.tools.build:gradle:7.1.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe... | buildscript {
//https://kotlinlang.org/releases.html
val kotlinVersion by extra { "1.6.10" }
dependencies {
//https://developer.android.com/studio/releases/gradle-plugin
classpath("com.android.tools.build:gradle:7.1.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe... | bsd-3-clause | Kotlin |
532c0306002cd0125f964f175f7bcf7c318220a3 | bump selenide from 5.15.1 to 5.20.1 (via #534) | allure-framework/allure-java,allure-framework/allure-java | allure-selenide/build.gradle.kts | allure-selenide/build.gradle.kts | description = "Allure Selenide Integration"
val agent: Configuration by configurations.creating
val selenideVersion = "5.20.1"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
implementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mocki... | description = "Allure Selenide Integration"
val agent: Configuration by configurations.creating
val selenideVersion = "5.15.1"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
implementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mocki... | apache-2.0 | Kotlin |
321f2c5b55ee19ecafd6fd51e93a65e8284e0c87 | Enable Gradle Build Scan | LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta | build.gradle.kts | build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
kotlin("jvm") version Versions.KOTLIN apply false
kotlin("plugin.serialization") version Versions.KOTLIN
id("io.github.turansky.kfc.latest-webpack") version "5.50.0" apply false
}
allprojects {
group = "net.perfectdreams.loritta... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
kotlin("jvm") version Versions.KOTLIN apply false
kotlin("plugin.serialization") version Versions.KOTLIN
id("io.github.turansky.kfc.latest-webpack") version "5.50.0" apply false
}
allprojects {
group = "net.perfectdreams.loritta... | agpl-3.0 | Kotlin |
c2d00bb7740b80e405156f39bc5ebe82257a5190 | Increase test logging (#942) | square/okio,square/okio,square/okio | build.gradle.kts | build.gradle.kts | import aQute.bnd.gradle.BundleTaskConvention
import com.diffplug.gradle.spotless.SpotlessExtension
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED
import org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED
import org.gradle.api.tasks.t... | import aQute.bnd.gradle.BundleTaskConvention
import com.diffplug.gradle.spotless.SpotlessExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
dependencies {
classpath(deps.android.gradlePlugin)
classpath(deps.kotlin.gradlePlugin)
classpath(deps.animalSniffer.gradlePlugin)
cl... | apache-2.0 | Kotlin |
7bf9505a10314e350845ad91f05a832c578a315e | Add dummy language object | jguerinet/mobile-string-parser,jguerinet/mobile-string-parser | src/main/kotlin/Language.kt | src/main/kotlin/Language.kt | /*
* Copyright 2013-2018 Julien Guerinet
*
* 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 a... | /*
* Copyright 2013-2018 Julien Guerinet
*
* 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 a... | apache-2.0 | Kotlin |
0fc38a8f47e455ed42940807845c01e6abd2eb44 | Allow child classes to override item labels field | Doist/TodoistModels,Doist/TodoistPojos | src/main/java/com/todoist/pojo/Item.kt | src/main/java/com/todoist/pojo/Item.kt | package com.todoist.pojo
open class Item<D : Due> @JvmOverloads constructor(
id: Long,
open var content: String,
open var projectId: Long,
priority: Int,
due: D?,
open var sectionId: Long?,
open var parentId: Long?,
open var childOrder: Int = MIN_CHILD_OR... | package com.todoist.pojo
open class Item<D : Due> @JvmOverloads constructor(
id: Long,
open var content: String,
open var projectId: Long,
priority: Int,
due: D?,
open var sectionId: Long?,
open var parentId: Long?,
open var childOrder: Int = MIN_CHILD_OR... | mit | Kotlin |
47a1d045b587c8dfbc0752266dfcc49665e2c32e | add semicolon after break and continue | Undin/intellij-rust,intellij-rust/intellij-rust,anton-okolelov/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,anton-okolelov/intellij-rust,intellij-rust/intellij-rust,anton-okolelov/intellij-rust,Undin/intel... | src/main/kotlin/org/rust/ide/formatter/processors/RsStatementSemicolonFormatProcessor.kt | src/main/kotlin/org/rust/ide/formatter/processors/RsStatementSemicolonFormatProcessor.kt | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.formatter.processors
import com.intellij.lang.ASTNode
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiRecursiveElementVisitor
import ... | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.formatter.processors
import com.intellij.lang.ASTNode
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiRecursiveElementVisitor
import ... | mit | Kotlin |
b8827a2a7a34c5d1e6d1ab135991d88424a3f7cb | add DynamicProgramming.kt. | wmh-demos/Secret,wmh-demos/Secret | src/main/java/me/wayne/dp/DynamicProgramming.kt | src/main/java/me/wayne/dp/DynamicProgramming.kt | package me.wayne.dp
import kotlin.math.max
val ARR = arrayListOf(1, 2, 4, 1, 7, 8, 3)
fun main() {
println("recOpt = " + recOpt(ARR, 6))
println("dpOpt = " + dpOpt(ARR, 6))
}
fun recOpt(arr: List<Int>, index: Int): Int {
return when (index) {
0 -> {
arr[0]
}
1 -> {
... | apache-2.0 | Kotlin | |
8bee51cadf1594645e3a0f8777d81343809bd7cf | Use the new DeviceUtils check for a chromebook | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | wordpress-comments/src/main/java/org/wordpress/aztec/plugins/wpcomments/toolbar/MoreToolbarButton.kt | wordpress-comments/src/main/java/org/wordpress/aztec/plugins/wpcomments/toolbar/MoreToolbarButton.kt | package org.wordpress.aztec.plugins.wpcomments.toolbar
import android.support.v4.content.ContextCompat
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ToggleButton
import org.wordp... | package org.wordpress.aztec.plugins.wpcomments.toolbar
import android.support.v4.content.ContextCompat
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ToggleButton
import org.wordp... | mpl-2.0 | Kotlin |
87412087d3e3f02f2a54550084c96c0e5f47a8cd | Remove unused import | joffrey-bion/hashcode-utils | src/main/kotlin/org/hildan/hashcode/utils/runner/ParallelRunner.kt | src/main/kotlin/org/hildan/hashcode/utils/runner/ParallelRunner.kt | package org.hildan.hashcode.utils.runner
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import java.util.Collections
/**
* Runs the given function on each of the given input, each in its own coroutine.
*
* Note: Depending on your choice of [UncaughtE... | package org.hildan.hashcode.utils.runner
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import java.util.Collections
import java.util.concurrent.CopyOnWriteArrayList
/**
* Runs the given function on each of the given input, each in its own coroutine.
... | mit | Kotlin |
c3ede119a4ed10e4268f4c7af2a1d440d49fb4ad | Add IndexedDataValueConflict | dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk | core/src/main/java/org/hisp/dhis/android/core/datavalue/internal/conflicts/IndexedDataValueConflict.kt | core/src/main/java/org/hisp/dhis/android/core/datavalue/internal/conflicts/IndexedDataValueConflict.kt | /*
* Copyright (c) 2004-2021, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list o... | bsd-3-clause | Kotlin | |
553d9418c3e42fc2d631daa10c03a315830f1b66 | Update PostalCodeEditText input rules (#1931) | stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android | stripe/src/main/java/com/stripe/android/view/PostalCodeEditText.kt | stripe/src/main/java/com/stripe/android/view/PostalCodeEditText.kt | package com.stripe.android.view
import android.content.Context
import android.text.InputFilter
import android.text.InputType
import android.text.method.DigitsKeyListener
import android.text.method.TextKeyListener
import android.util.AttributeSet
import com.stripe.android.R
class PostalCodeEditText @JvmOverloads const... | package com.stripe.android.view
import android.content.Context
import android.text.InputFilter
import android.text.InputType
import android.text.method.DigitsKeyListener
import android.util.AttributeSet
import com.stripe.android.R
class PostalCodeEditText @JvmOverloads constructor(
context: Context,
attrs: At... | mit | Kotlin |
c8013bd63a8bf9d39a668da0043ef92317779f88 | Disable failing on warnings during development (#2575) | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | buildSrc/src/main/kotlin/Compilations.kt | buildSrc/src/main/kotlin/Compilations.kt | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
import org.jetbrains.kotlin.gradle.dsl.*
import org.jetbrains.kotlin.gradle.plugin.*
fun KotlinCompilation<KotlinCommonOptions>.configureCompilation() {
kotlinOptions {
if (platfo... | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
import org.jetbrains.kotlin.gradle.dsl.*
import org.jetbrains.kotlin.gradle.plugin.*
fun KotlinCompilation<KotlinCommonOptions>.configureCompilation() {
kotlinOptions {
if (platfo... | apache-2.0 | Kotlin |
3829ac7d0302a1e7dcb354a15ce016fe7298157b | Enable Sections and Litho plugins | facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper | android/tutorial/src/main/java/com/facebook/flipper/sample/tutorial/TutorialApplication.kt | android/tutorial/src/main/java/com/facebook/flipper/sample/tutorial/TutorialApplication.kt | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.sample.tutorial
import android.app.Application
import com.facebook.drawee.backends.pipeline.Fresco
im... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.sample.tutorial
import android.app.Application
import com.facebook.drawee.backends.pipeline.Fresco
im... | mit | Kotlin |
09a15ba83bdcac8b34299de8c938080a2b6ae55a | Move implementation outside interface. | ramonrabello/Kiphy | app/src/main/kotlin/com/github/ramonrabello/kiphy/trends/data/source/TrendingDataSource.kt | app/src/main/kotlin/com/github/ramonrabello/kiphy/trends/data/source/TrendingDataSource.kt | package com.github.ramonrabello.kiphy.trends.data.source
import com.github.ramonrabello.kiphy.trends.model.TrendingResponse
import io.reactivex.Single
interface TrendingDataSource {
fun loadTrending(): Single<TrendingResponse>
} | apache-2.0 | Kotlin | |
447fbf241ea50a57cf79edb0e22c2c1228e057fd | Fix ktlint indentation issue | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/spans/CaptionShortcodeSpan.kt | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/spans/CaptionShortcodeSpan.kt | package org.wordpress.aztec.plugins.shortcodes.spans
import android.graphics.Typeface
import android.text.Spanned
import android.text.style.StyleSpan
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
import org.wordpress.aztec.Constants
import org.wordpress.aztec.spans.IAztecBlockSpan
imp... | package org.wordpress.aztec.plugins.shortcodes.spans
import android.graphics.Typeface
import android.text.Spanned
import android.text.style.StyleSpan
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
import org.wordpress.aztec.Constants
import org.wordpress.aztec.spans.IAztecBlockSpan
imp... | mpl-2.0 | Kotlin |
f0b2f7a52dd2bc621d8a4f599452c80fa5b8958e | Update version for v0.6 release | rodm/teamcity-gradle-init-scripts-plugin,rodm/teamcity-gradle-init-scripts-plugin,rodm/teamcity-gradle-init-scripts-plugin | build.gradle.kts | build.gradle.kts |
import com.github.rodm.teamcity.TeamCityPluginExtension
import com.jfrog.bintray.gradle.BintrayExtension
import com.jfrog.bintray.gradle.RecordingCopyTask
plugins {
id ("org.jetbrains.kotlin.jvm") version "1.1.3-2" apply false
id ("com.github.rodm.teamcity-server") version "1.0" apply true
id ("com.jfrog.... |
import com.github.rodm.teamcity.TeamCityPluginExtension
import com.jfrog.bintray.gradle.BintrayExtension
import com.jfrog.bintray.gradle.RecordingCopyTask
plugins {
id ("org.jetbrains.kotlin.jvm") version "1.1.3-2" apply false
id ("com.github.rodm.teamcity-server") version "1.0" apply true
id ("com.jfrog.... | apache-2.0 | Kotlin |
97bebf48fd593488fd0793cd5b198958c76ddc1d | Handle either Implementation-Title or Specification-Title | DemonWav/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/MinecraftDev,DemonWav/MinecraftDev,DemonWav/MinecraftDevIntelliJ,DemonWav/IntelliJBukkitSupport,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ | src/main/kotlin/com/demonwav/mcdev/platform/sponge/framework/SpongePresentationProvider.kt | src/main/kotlin/com/demonwav/mcdev/platform/sponge/framework/SpongePresentationProvider.kt | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.platform.sponge.framework
import com.demonwav.mcdev.asset.PlatformAssets
import com.intellij.framework.library.LibraryVersionProperties
import com.intellij.openapi.ro... | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.platform.sponge.framework
import com.demonwav.mcdev.asset.PlatformAssets
import com.intellij.framework.library.LibraryVersionProperties
import com.intellij.openapi.ro... | mit | Kotlin |
5d9642b3354dfa87053e5c35fd3174e6358dd66f | Add DEFAULT_ETHEREUM_BIP44_PATH | walleth/kethereum | model/src/main/kotlin/org/kethereum/Values.kt | model/src/main/kotlin/org/kethereum/Values.kt | package org.kethereum
import java.math.BigInteger
val ETH_IN_WEI = BigInteger("1000000000000000000")
var DEFAULT_GAS_PRICE = BigInteger("20000000000")
var DEFAULT_GAS_LIMIT = BigInteger("21000")
const val DEFAULT_ETHEREUM_BIP44_PATH = "m/44'/60'/0'/0/0" | package org.kethereum
import java.math.BigInteger
val ETH_IN_WEI = BigInteger("1000000000000000000")
var DEFAULT_GAS_PRICE = BigInteger("20000000000")
var DEFAULT_GAS_LIMIT = BigInteger("21000") | mit | Kotlin |
a386c64aa39acb353e7b1d34fc2f98d1329e8d1b | Bump up the version of fhir engine to alpha06. (#1022) | google/android-fhir,google/android-fhir | buildSrc/src/main/kotlin/Releases.kt | buildSrc/src/main/kotlin/Releases.kt | /*
* Copyright 2021 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... | /*
* Copyright 2021 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... | apache-2.0 | Kotlin |
80270ca9aa199b617ee6e2fb65a45d6be68c386c | Update JDA | LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | object Versions {
const val LORITTA = "2021-SNAPSHOT"
const val KOTLIN = "1.5.0"
const val KTOR = "1.5.2"
const val JDA = "4.3.0_285"
const val KOTLIN_SERIALIZATION = "1.1.0"
const val KOTLIN_COROUTINES = "1.5.0"
const val EXPOSED = "0.31.1"
} | object Versions {
const val LORITTA = "2021-SNAPSHOT"
const val KOTLIN = "1.5.0"
const val KTOR = "1.5.2"
const val JDA = "4.2.1_261"
const val KOTLIN_SERIALIZATION = "1.1.0"
const val KOTLIN_COROUTINES = "1.5.0"
const val EXPOSED = "0.31.1"
} | agpl-3.0 | Kotlin |
42b131c64b801026a1f5d2676b776e9699e6aef0 | Upgrade ArchUnit to 0.11.0 | junit-team/junit-lambda,sbrannen/junit-lambda | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.50"
val groovy = "3.0.0-beta-3"
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "3.9.6"
val univocity = "2... | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.50"
val groovy = "3.0.0-beta-3"
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "3.9.6"
val univocity = "2... | epl-1.0 | Kotlin |
4a7c17319fdd5eacfe7f0572aa5a9c48ade3b950 | Update comment on CheeseViewHolder to also include Separators | android/architecture-components-samples,android/architecture-components-samples,android/architecture-components-samples | PagingSample/app/src/main/java/paging/android/example/com/pagingsample/CheeseViewHolder.kt | PagingSample/app/src/main/java/paging/android/example/com/pagingsample/CheeseViewHolder.kt | /*
* Copyright (C) 2017 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 app... | /*
* Copyright (C) 2017 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 app... | apache-2.0 | Kotlin |
ce16aca45400a613319121a5759d525ed59b36aa | Fix page merging bug that prevented including Kotlin Playground | Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka | plugins/base/src/main/kotlin/transformers/pages/merger/SameMethodNamePageMergerStrategy.kt | plugins/base/src/main/kotlin/transformers/pages/merger/SameMethodNamePageMergerStrategy.kt | package org.jetbrains.dokka.base.transformers.pages.merger
import org.jetbrains.dokka.pages.*
import org.jetbrains.dokka.utilities.DokkaLogger
class SameMethodNamePageMergerStrategy(val logger: DokkaLogger) : PageMergerStrategy {
override fun tryMerge(pages: List<PageNode>, path: List<String>): List<PageNode> {
... | package org.jetbrains.dokka.base.transformers.pages.merger
import org.jetbrains.dokka.pages.*
import org.jetbrains.dokka.utilities.DokkaLogger
class SameMethodNamePageMergerStrategy(val logger: DokkaLogger) : PageMergerStrategy {
override fun tryMerge(pages: List<PageNode>, path: List<String>): List<PageNode> {
... | apache-2.0 | Kotlin |
2675fde1cd8f701913ed42a20a6a3f9d99358393 | refactor #283 Rename unused lambda parameter in CalendarFragment. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/calendar/CalendarFragment.kt | app/src/main/java/jp/toastkid/yobidashi/calendar/CalendarFragment.kt | package jp.toastkid.yobidashi.calendar
import android.content.Context
import android.databinding.DataBindingUtil
import android.os.Bundle
import android.support.annotation.StringRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import jp.toastkid.yobidashi.BaseFragment
impor... | package jp.toastkid.yobidashi.calendar
import android.content.Context
import android.databinding.DataBindingUtil
import android.os.Bundle
import android.support.annotation.StringRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import jp.toastkid.yobidashi.BaseFragment
impor... | epl-1.0 | Kotlin |
b48fc814ac8002114a6604afcbcf3b52c51fb083 | Fix Duration codec for Java 8 and sub-second negative durations | blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,grad... | subprojects/instant-execution/src/main/kotlin/org/gradle/instantexecution/serialization/codecs/JavaTimeCodecs.kt | subprojects/instant-execution/src/main/kotlin/org/gradle/instantexecution/serialization/codecs/JavaTimeCodecs.kt | /*
* Copyright 2020 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 2020 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 |
4c6892deaec14fa3b6b539b482a342a0b6d66331 | refactor #506 Remove unused extra. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/media/image/preview/attach/AttachToAnyAppUseCase.kt | app/src/main/java/jp/toastkid/yobidashi/media/image/preview/attach/AttachToAnyAppUseCase.kt | /*
* Copyright (c) 2019 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) 2019 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 |
05be73987eeaacbb90894990661f7f8b5eef96b4 | Add Helvetica Scans (#7773) | inorichi/tachiyomi-extensions,inorichi/tachiyomi-extensions,inorichi/tachiyomi-extensions | multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangadventure/MangAdventureGenerator.kt | multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangadventure/MangAdventureGenerator.kt | package eu.kanade.tachiyomi.multisrc.mangadventure
import generator.ThemeSourceData.SingleLang
import generator.ThemeSourceGenerator
/** [MangAdventure] source generator. */
class MangAdventureGenerator : ThemeSourceGenerator {
override val themePkg = "mangadventure"
override val themeClass = "MangAdventure"... | package eu.kanade.tachiyomi.multisrc.mangadventure
import generator.ThemeSourceData.SingleLang
import generator.ThemeSourceGenerator
/** [MangAdventure] source generator. */
class MangAdventureGenerator : ThemeSourceGenerator {
override val themePkg = "mangadventure"
override val themeClass = "MangAdventure"... | apache-2.0 | Kotlin |
a85de9eb95f5946008291fcced713c27cb638f8b | Copy lastViewed | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android | app/src/main/java/org/stepik/android/domain/user_courses/interactor/UserCoursesInteractor.kt | app/src/main/java/org/stepik/android/domain/user_courses/interactor/UserCoursesInteractor.kt | package org.stepik.android.domain.user_courses.interactor
import io.reactivex.Completable
import io.reactivex.Single
import io.reactivex.subjects.PublishSubject
import org.stepic.droid.util.DateTimeHelper
import org.stepik.android.domain.base.DataSourceType
import org.stepik.android.domain.profile.repository.ProfileRe... | package org.stepik.android.domain.user_courses.interactor
import io.reactivex.Completable
import io.reactivex.Single
import io.reactivex.subjects.PublishSubject
import org.stepic.droid.util.DateTimeHelper
import org.stepik.android.domain.base.DataSourceType
import org.stepik.android.domain.profile.repository.ProfileRe... | apache-2.0 | Kotlin |
a9782d42742e858130c9ce45adc1a0d07d5d1d5b | Use UTF-8 as default charset in BasicAuth | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-client/ktor-client-features/ktor-client-auth/common/src/io/ktor/client/features/auth/providers/BasicAuthProvider.kt | ktor-client/ktor-client-features/ktor-client-auth/common/src/io/ktor/client/features/auth/providers/BasicAuthProvider.kt | package io.ktor.client.features.auth.providers
import io.ktor.client.features.auth.*
import io.ktor.client.request.*
import io.ktor.http.*
import io.ktor.http.auth.*
import io.ktor.util.*
import kotlinx.io.charsets.*
import kotlinx.io.core.*
/**
* Add [BasicAuthProvider] to client [Auth] providers.
*/
fun Auth.basi... | package io.ktor.client.features.auth.providers
import io.ktor.client.features.auth.*
import io.ktor.client.request.*
import io.ktor.http.*
import io.ktor.http.auth.*
import io.ktor.util.*
import kotlinx.io.charsets.*
import kotlinx.io.core.*
/**
* Add [BasicAuthProvider] to client [Auth] providers.
*/
fun Auth.basi... | apache-2.0 | Kotlin |
e16bfb02ad518be6fee848886ef5ce4944630edd | Add RxPreferences utilities | pyamsoft/pydroid | pydroid-ui/src/main/java/com/pyamsoft/pydroid/ui/rx/RxPreferences.kt | pydroid-ui/src/main/java/com/pyamsoft/pydroid/ui/rx/RxPreferences.kt | /*
* Copyright 2017 Peter Kenji Yamanaka
*
* 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 a... | apache-2.0 | Kotlin | |
fbad0decd4b47acd7d9f763974590d4e814029a9 | Add speed value for lights | EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016 | src/main/kotlin/com/easternedgerobotics/rov/value/LightSpeedValue.kt | src/main/kotlin/com/easternedgerobotics/rov/value/LightSpeedValue.kt | package com.easternedgerobotics.rov.value
data class LightSpeedValue(override val speed: Float = 0f) : SpeedValue {
constructor() : this(0f)
}
| mit | Kotlin | |
0877108ec9fc5f2e534dadb44b027b26ac736019 | Add secondary constructors | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/core/embeddings/Embedding.kt | src/main/kotlin/com/kotlinnlp/simplednn/core/embeddings/Embedding.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* 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/.
* ------------------------------------------... | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* 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/.
* ------------------------------------------... | mpl-2.0 | Kotlin |
79e5dcd723800d75077a9f9231338e3922789891 | Set source and target compatibility for KotlinCompile tasks | square/kotlinpoet,square/kotlinpoet | build.gradle.kts | build.gradle.kts | /*
* Copyright (C) 2019 Square, 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 (C) 2019 Square, 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 |
679702f72df2f263f68b7035f076d8294a1a259e | Update plugin org.jetbrains.intellij to v1.3.1 (#423) | 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.6.10"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.3.1"
}... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.6.10"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.3.0"
}... | apache-2.0 | Kotlin |
55312ba6430a26461163c4e9e4b0aef0dd8dc369 | Solve problem 2190 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2190.kt | src/main/kotlin/leetcode/Problem2190.kt | package leetcode
/**
* https://leetcode.com/problems/most-frequent-number-following-key-in-an-array/
*/
class Problem2190 {
fun mostFrequent(nums: IntArray, key: Int): Int {
var answer = 0
var maxCount = 0
val map = mutableMapOf<Int, Int>()
for (i in 0..(nums.size - 2)) {
... | mit | Kotlin | |
12ed27f349045a291674400b3fdf6e4866f33da7 | Make context nullable. Close #164 | LWJGL/lwjgl3,TheMrMilchmann/lwjgl3,TheMrMilchmann/lwjgl3,LWJGL/lwjgl3,LWJGL-CI/lwjgl3,code-disaster/lwjgl3,LWJGL/lwjgl3,code-disaster/lwjgl3,TheMrMilchmann/lwjgl3,code-disaster/lwjgl3,LWJGL-CI/lwjgl3,bsmr-java/lwjgl3,bsmr-java/lwjgl3,bsmr-java/lwjgl3,LWJGL-CI/lwjgl3,LWJGL-CI/lwjgl3,bsmr-java/lwjgl3,TheMrMilchmann/lwjgl... | modules/templates/src/main/kotlin/org/lwjgl/openal/templates/ALC_EXT_thread_local_context.kt | modules/templates/src/main/kotlin/org/lwjgl/openal/templates/ALC_EXT_thread_local_context.kt | /*
* Copyright LWJGL. All rights reserved.
* License terms: http://lwjgl.org/license.php
*/
package org.lwjgl.openal.templates
import org.lwjgl.generator.*
import org.lwjgl.openal.*
val ALC_EXT_thread_local_context = "EXTThreadLocalContext".nativeClassALC("EXT_thread_local_context") {
documentation =
"""
Nat... | /*
* Copyright LWJGL. All rights reserved.
* License terms: http://lwjgl.org/license.php
*/
package org.lwjgl.openal.templates
import org.lwjgl.generator.*
import org.lwjgl.openal.*
val ALC_EXT_thread_local_context = "EXTThreadLocalContext".nativeClassALC("EXT_thread_local_context") {
documentation =
"""
Nat... | bsd-3-clause | Kotlin |
c5cc10cfa0e648f93c87dc75a2a1278c29be61af | make the method more Kotliny | CruGlobal/android-gto-support,GlobalTechnology/android-gto-support,CruGlobal/android-gto-support | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/Transformations2.kt | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/Transformations2.kt | @file:JvmName("Transformations2")
package org.ccci.gto.android.common.lifecycle
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.Observer
/**
* This method will combine 2 LiveData objects into a new LiveData object by running the {@param mapFunction} on the
* ... | @file:JvmName("Transformations2")
package org.ccci.gto.android.common.lifecycle
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.Observer
fun <X, Y, Z> combine(first: LiveData<X>, second: LiveData<Y>, block: (X?, Y?) -> LiveData<Z>): LiveData<Z> {
val result... | mit | Kotlin |
7e610841fcf13deb3623583c8ae0a76f0810e355 | remove commented code | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/toolWindow/log/LogSmartSearchField.kt | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/toolWindow/log/LogSmartSearchField.kt | package com.jetbrains.rider.plugins.unity.toolWindow.log
import com.intellij.ui.SearchTextField
import com.intellij.util.ui.JBUI
import com.jetbrains.rider.ui.RiderUI
import java.awt.Dimension
import java.awt.event.KeyEvent
class LogSmartSearchField() : SearchTextField(false) { //val viewModel: RiderNuGetFacade
i... | package com.jetbrains.rider.plugins.unity.toolWindow.log
import com.intellij.ui.SearchTextField
import com.intellij.util.ui.JBUI
import com.jetbrains.rider.ui.RiderUI
import java.awt.Dimension
import java.awt.event.KeyEvent
class LogSmartSearchField() : SearchTextField(false) { //val viewModel: RiderNuGetFacade
i... | apache-2.0 | Kotlin |
31ee1f2044fefaa30ea07c85f9d5e2fe836608e9 | Change FeedforwardLayerParameters to AffineLayerParameters | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/pointernetwork/PointerNetworkParameters.kt | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/pointernetwork/PointerNetworkParameters.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* 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/.
* ------------------------------------------... | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* 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/.
* ------------------------------------------... | mpl-2.0 | Kotlin |
ea2b6ffcf5009e3bed696d1766cd6767192ce6ff | Add license header | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/main/java/com/doctoror/particleswallpaper/domain/repository/MutableSettingsRepository.kt | app/src/main/java/com/doctoror/particleswallpaper/domain/repository/MutableSettingsRepository.kt | /*
* Copyright (C) 2018 Yaroslav Mytkalyk
*
* 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... | package com.doctoror.particleswallpaper.domain.repository
import android.support.annotation.ColorInt
/**
* Created by Yaroslav Mytkalyk on 31.05.17.
*
* [SettingsRepository] with mutators for settings
*/
interface MutableSettingsRepository: SettingsRepository {
fun setNumDots(numDots: Int)
fun setFrameDe... | apache-2.0 | Kotlin |
df9fc4092153291551302534307daf9ef5bf8d35 | Fix crash when open logger. | NordicSemiconductor/Android-nRF-Toolbox,NordicSemiconductor/Android-nRF-Toolbox,NordicSemiconductor/Android-nRF-Toolbox,NordicSemiconductor/Android-nRF-Toolbox | lib_log/src/main/java/no/nordicsemi/android/logger/LoggerAppRunner.kt | lib_log/src/main/java/no/nordicsemi/android/logger/LoggerAppRunner.kt | package no.nordicsemi.android.logger
import android.content.Context
import android.content.Intent
import android.net.Uri
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject
private const val LOGGER_PACKAGE_NAME = "no.nordicsemi.android.log"
private const val LOGGER_LINK = "https://play... | package no.nordicsemi.android.logger
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.compose.ui.platform.AndroidUriHandler
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject
private const val LOGGER_PACKAGE_NAME = "no.nordicsemi.andr... | bsd-3-clause | Kotlin |
9cb731237b7077c56f198639113233436f34c7a6 | Add runClient function | RimmerM/Yttrium,Le-Chiffre/Yttrium | Server/src/com/rimmer/yttrium/server/Client.kt | Server/src/com/rimmer/yttrium/server/Client.kt | package com.rimmer.yttrium.server
import io.netty.bootstrap.Bootstrap
import io.netty.channel.*
import io.netty.channel.epoll.Epoll
import io.netty.channel.epoll.EpollEventLoopGroup
import io.netty.channel.epoll.EpollSocketChannel
import io.netty.channel.nio.NioEventLoopGroup
import io.netty.channel.socket.SocketChann... | package com.rimmer.yttrium.server
import io.netty.bootstrap.Bootstrap
import io.netty.channel.*
import io.netty.channel.epoll.EpollEventLoopGroup
import io.netty.channel.epoll.EpollSocketChannel
import io.netty.channel.socket.SocketChannel
import io.netty.channel.socket.nio.NioSocketChannel
/** Connects to a remote s... | mit | Kotlin |
075d66ccd0a1d728982217cddf67f4f13ae340a4 | Add frequency queries solution | rbatista/algorithms | challenges/hacker-rank/kotlin/src/main/kotlin/com/raphaelnegrisoli/hackerrank/FrequencyQueries.kt | challenges/hacker-rank/kotlin/src/main/kotlin/com/raphaelnegrisoli/hackerrank/FrequencyQueries.kt | package com.raphaelnegrisoli.hackerrank
import java.io.BufferedReader
import java.io.BufferedWriter
import java.io.FileWriter
import java.io.InputStreamReader
fun main(args: Array<String>) {
val reader = BufferedReader(InputStreamReader(System.`in`))
val writer = BufferedWriter(FileWriter(System.getenv("OUTP... | mit | Kotlin | |
3f4c45efb68a0d04dfe43f06ed2e6070e269d0c8 | Use DeepRecursiveFunction in maxMatching | indy256/codelibrary,indy256/codelibrary,indy256/codelibrary,indy256/codelibrary | kotlin/MaxBipartiteMatchingEV.kt | kotlin/MaxBipartiteMatchingEV.kt | // https://en.wikipedia.org/wiki/Matching_(graph_theory)#In_unweighted_bipartite_graphs in O(V * E)
fun maxMatching(graph: Array<out List<Int>>, n2: Int): Int {
val n1 = graph.size
val vis = BooleanArray(n1)
val matching = IntArray(n2) { -1 }
val findPath = DeepRecursiveFunction { u1 ->
vis[u1]... | // https://en.wikipedia.org/wiki/Matching_(graph_theory)#In_unweighted_bipartite_graphs in O(V * E)
fun maxMatching(graph: Array<out List<Int>>, n2: Int): Int {
val n1 = graph.size
val matching = IntArray(n2) { -1 }
return (0 until n1).sumOf { findPath(graph, it, matching, BooleanArray(n1)) }
}
fun findPat... | unlicense | Kotlin |
c44ea564c892e4dc445c80fd9bdac9d866b777da | Bump app version | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | buildSrc/src/main/kotlin/BuildAndroidConfig.kt | buildSrc/src/main/kotlin/BuildAndroidConfig.kt | object BuildAndroidConfig {
const val APP_ID = "com.cryart.sabbathschool"
const val KEYSTORE_PROPS_FILE = "../release/keystore.properties"
const val API_KEYS_PROPS_FILE = "release/ss_public_keys.properties"
const val COMPILE_SDK_VERSION = 32
const val MIN_SDK_VERSION = 21
const val TARGET_SDK_V... | object BuildAndroidConfig {
const val APP_ID = "com.cryart.sabbathschool"
const val KEYSTORE_PROPS_FILE = "../release/keystore.properties"
const val API_KEYS_PROPS_FILE = "release/ss_public_keys.properties"
const val COMPILE_SDK_VERSION = 32
const val MIN_SDK_VERSION = 21
const val TARGET_SDK_V... | mit | Kotlin |
f53932f0e1b8bbf3fc2bf0d28884d6d3c9bdceee | Remove obsolete TODOS in QuestionDataCollectionFragment | google/ground-android,google/ground-android,google/ground-android | ground/src/main/java/com/google/android/ground/ui/datacollection/QuestionDataCollectionFragment.kt | ground/src/main/java/com/google/android/ground/ui/datacollection/QuestionDataCollectionFragment.kt | /*
* Copyright 2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
cbb028a136dd69043f85cd65a94f836c909a17a8 | Make query parameter parsing for deep-linking more resilient | Waboodoo/HTTP-Shortcuts,Waboodoo/HTTP-Shortcuts,Waboodoo/HTTP-Shortcuts | HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/misc/DeepLinkActivity.kt | HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/misc/DeepLinkActivity.kt | package ch.rmy.android.http_shortcuts.activities.misc
import android.os.Bundle
import ch.rmy.android.http_shortcuts.R
import ch.rmy.android.http_shortcuts.activities.BaseActivity
import ch.rmy.android.http_shortcuts.activities.Entrypoint
import ch.rmy.android.http_shortcuts.activities.ExecuteActivity
import ch.rmy.and... | package ch.rmy.android.http_shortcuts.activities.misc
import android.os.Bundle
import ch.rmy.android.http_shortcuts.R
import ch.rmy.android.http_shortcuts.activities.BaseActivity
import ch.rmy.android.http_shortcuts.activities.Entrypoint
import ch.rmy.android.http_shortcuts.activities.ExecuteActivity
import ch.rmy.and... | mit | Kotlin |
695277dde549df09304ce2d3426f67f2a12cb383 | Fix wrong sign | kvakil/venus,kvakil/venus,kvakil/venus | src/main/kotlin/venus/riscv/insts/sub.kt | src/main/kotlin/venus/riscv/insts/sub.kt | package venus.riscv.insts
import venus.riscv.insts.dsl.RTypeInstruction
val sub = RTypeInstruction(
name = "sub",
opcode = 0b0110011,
funct3 = 0b000,
funct7 = 0b0100000,
eval32 = { a, b -> a - b },
eval64 = { a, b -> a - b }
)
| package venus.riscv.insts
import venus.riscv.insts.dsl.RTypeInstruction
val sub = RTypeInstruction(
name = "sub",
opcode = 0b0110011,
funct3 = 0b000,
funct7 = 0b0100000,
eval32 = { a, b -> a + b },
eval64 = { a, b -> a + b }
)
| mit | Kotlin |
1234096f71b725ee1940fd150487b88d73175d32 | use dialog instead of findDialog | 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/testGuiFramework/src/com/intellij/testGuiFramework/fixtures/ChooseJpaClassesPackageDialog.kt | platform/testGuiFramework/src/com/intellij/testGuiFramework/fixtures/ChooseJpaClassesPackageDialog.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.testGuiFramework.fixtures
import com.intellij.testGuiFramework.framework.Timeouts
import com.intellij.testGuiFramework.impl.GuiTestCase
import com.intellij.t... | // 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.testGuiFramework.fixtures
import com.intellij.testGuiFramework.framework.Timeouts
import com.intellij.testGuiFramework.impl.*
import com.intellij.testGuiFram... | apache-2.0 | Kotlin |
08841f82d1923974f06d477941fb09b4148f3c68 | Update build.gradle.kts | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/services/iam/build.gradle.kts | kotlin/services/iam/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation("aws.sdk.kotlin:iam:0.14.3-beta")
testImplementation("org.ju... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation("aws.sdk.kotlin:iam:0.9.4-beta")
testImplementation("org.jun... | apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.